Skip to content

Commit

Permalink
chore: 오타수정
Browse files Browse the repository at this point in the history
  • Loading branch information
jjjjjinseo committed Jul 23, 2024
1 parent 80b3ab1 commit e7814fa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ public class PlaylistController {
private final PlaylistService playlistService;

@GetMapping("")
@Operation(summary = "플레이리스 전체 조회 메소드", description = "전체 플레이리스트를 조회합니다.")
@Operation(summary = "플레이리스트 전체 조회 메소드", description = "전체 플레이리스트를 조회합니다.")
public ResponseEntity<?> list(){
return ResponseEntity.ok(playlistService.list());
}

@GetMapping("/{playlistId}")
@Operation(summary = "플레이리스 상세 조회 메소드", description = "플레이리스트 상세 정보를 조회합니다.")
@Operation(summary = "플레이리스트 상세 조회 메소드", description = "플레이리스트 상세 정보를 조회합니다.")
public ResponseEntity<?> read(@PathVariable Long playlistId){
return ResponseEntity.ok(playlistService.read(playlistId));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ private ResponseEntity<?> getYoutubeVideosByPlaylist(@PathVariable Long playlist

@GetMapping("/videos/watched")
@Operation(summary = "시청한 비디오 목록 조회", description = "사용자가 시청했던 비디오 목록을 조회합니다.")
public ResponseEntity<?> me(HttpServletRequest request) {
public ResponseEntity<?> getWatchedVideo(HttpServletRequest request) {
Long userId = jwtUtil.getUserId(jwtUtil.resolveToken(request).substring(7));
return ResponseEntity.ok(youtubeVideoService.getWatchedVideo(userId));
}
Expand Down

0 comments on commit e7814fa

Please sign in to comment.