Skip to content

Commit 06ebb00

Browse files
authored
Merge pull request #38 from SWUNITZEL/fix/#37-report-api-path
[FIX] 비언어적 결과보고서 경로 수정
2 parents a51d132 + fa10de9 commit 06ebb00

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

src/main/java/com/swunitzel/fiterview/config/SecurityConfig.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,6 @@ public CorsConfiguration getCorsConfiguration(HttpServletRequest request) {
9090
http
9191
.authorizeHttpRequests((auth) -> auth
9292
.requestMatchers("/api/user/login", "/", "/api/user/join", "/api/user/reissue").permitAll()
93-
.requestMatchers("/report/nonverbal-communication").permitAll()
9493
.anyRequest().authenticated());
9594

9695
// 필터 추가

src/main/java/com/swunitzel/fiterview/controller/ReportController.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ public class ReportController {
1313

1414
private final ReportService reportService;
1515

16-
@PostMapping("/nonverbal-communication")
17-
public ApiResponse<ReportDto.NonverbalCommunicationReportDto> getNonVerbalCommunicationReport() {
18-
ReportDto.NonverbalCommunicationReportDto reportDto = reportService.getNonverbalCommunicationReport("684ff89b83a23a43d1d4ace4");
16+
@PostMapping("/{interviewId}/nonverbal-communication")
17+
public ApiResponse<ReportDto.NonverbalCommunicationReportDto> getNonVerbalCommunicationReport(@PathVariable(name = "interviewId") String interviewId) {
18+
ReportDto.NonverbalCommunicationReportDto reportDto = reportService.getNonverbalCommunicationReport(interviewId);
1919
return ApiResponse.onSuccess(reportDto);
2020
}
2121

0 commit comments

Comments
 (0)