Skip to content

Commit

Permalink
Update ScriptController.java
Browse files Browse the repository at this point in the history
script/all/{memberId}로 받아오던 데이터를 jwt를 이용하여 parameter값을 전달할 필요없는 것으로 변경. 
uri : script/all/me
  • Loading branch information
Youngseo-Jeon0313 authored Jul 30, 2023
1 parent 08f9b29 commit 2738877
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public ResponseEntity<?> deleteScript(@PathVariable Long id) {
}

// 특정 사용자가 작성한 script 모두 갖고오기
@GetMapping("/all/{memberId}")
@GetMapping("/all/me")
@Operation(summary = "특정 memberId의 사용자 스크립트 모두 가져오기", security = @SecurityRequirement(name = "bearer-key"))
public ResponseEntity<?> readAllWriterScript() {

Expand Down

0 comments on commit 2738877

Please sign in to comment.