Skip to content

Commit

Permalink
Fix merge conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
fabian-emilius committed Dec 28, 2024
1 parent cb3461b commit 719e7c9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions client/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ public ResponseEntity<ThesisDto> updateThesisInfo(
RequestValidator.validateNotNull(payload.secondaryTitles())
);

return ResponseEntity.ok(ThesisDto.fromThesisEntity(thesis, thesis.hasAdvisorAccess(authenticatedUser)));
return ResponseEntity.ok(ThesisDto.fromThesisEntity(thesis, thesis.hasAdvisorAccess(authenticatedUser), thesis.hasStudentAccess(authenticatedUser)));
}

@PutMapping("/{thesisId}/credits")
Expand All @@ -228,7 +228,7 @@ public ResponseEntity<ThesisDto> updateThesisCredits(
payload.credits()
);

return ResponseEntity.ok(ThesisDto.fromThesisEntity(thesis, thesis.hasAdvisorAccess(authenticatedUser)));
return ResponseEntity.ok(ThesisDto.fromThesisEntity(thesis, thesis.hasAdvisorAccess(authenticatedUser), thesis.hasStudentAccess(authenticatedUser)));
}

/* FEEDBACK ENDPOINTS */
Expand Down

0 comments on commit 719e7c9

Please sign in to comment.