Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
ori0o0p committed Oct 28, 2024
2 parents 3973c28 + 03e7d92 commit 6dea085
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public void submit() {
ResumeModel newResume;
if (resume.status().equals(ResumeElementDto.Status.SUBMITTED)) {
newResume =cancelSubmit(resume);
} else {
} else if(resume.status().equals(ResumeElementDto.Status.ONGOING)) {
newResume = submit(resume);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ protected SecurityFilterChain configure(HttpSecurity httpSecurity) throws Except

.authorizeHttpRequests(authorize -> authorize
.requestMatchers("/auth/**", "/swagger-ui/**", "/v3/**").permitAll()
.requestMatchers(HttpMethod.GET, "/library/{libraryId}/public").permitAll()
.requestMatchers(HttpMethod.GET, "/library/{libraryId}/public", "/resume/student/{resumeId}").permitAll()
.anyRequest().authenticated()
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ DataResponseInfo<FullResumeResponse> getReleasedResumesByGradeAndYear(@PathVaria
return findResumeUseCase.getReleasedResumesByGradeAndYear(grade, year);
}

@OnlyTeacher
@GetMapping("/student/{resumeId}")
FullResumeResponse getSubmittedResume(@PathVariable String resumeId) {
return findResumeUseCase.getSubmittedResume(resumeId);
Expand Down

0 comments on commit 6dea085

Please sign in to comment.