Skip to content

Commit

Permalink
student get information bug fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
valentin-stamate committed Jun 13, 2022
1 parent 1ef3bbc commit f458c98
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions backend/endpoints.json
Original file line number Diff line number Diff line change
Expand Up @@ -2520,11 +2520,6 @@
"body": {
"mode": "formdata",
"formdata": [
{
"key": "fullName",
"value": "Demo Names",
"type": "text"
},
{
"key": "publicationNumberWebOfScience",
"value": "323 I guess",
Expand Down
2 changes: 1 addition & 1 deletion backend/src/app/service/student.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export class StudentService {
throw new ResponseError(ResponseMessage.USER_NOT_FOUND);
}

return studentModel;
return existingStudent;
}

static async getForms(studentModel: StudentModel): Promise<any> {
Expand Down

0 comments on commit f458c98

Please sign in to comment.