Skip to content

Commit 40657bc

Browse files
committed
fixing typos
1 parent cf51e8f commit 40657bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/example/ArrayFreeLibrary/RestController/VideoController.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public void addVideos(@RequestBody Video newVideo,@PathVariable String topicId)
4646
videoService.addVideo(newVideo);
4747
}
4848

49-
@PutMapping("/topics/{topics{id}/videos/{id}")
49+
@PutMapping("/topics/{topicId}/videos/{id}")
5050
public void updateVideo(@RequestBody Video newVideo,@PathVariable String topicId , @PathVariable String id) {
5151
//System.out.println("put method" + newVideo);
5252
newVideo.setTopic(new Topic(topicId,"","","",""));

0 commit comments

Comments
 (0)