Skip to content

Commit 01c63a3

Browse files
committed
feat: Adds get post and delete mapping for the MediaItemsController
1 parent e2d7e41 commit 01c63a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lesson_26/api/java/api_app/src/main/java/com/codedifferently/lesson26/web/MediaItemsController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public ResponseEntity<GetMediaItemsResponse> getItems() {
3636
var response = GetMediaItemsResponse.builder().items(responseItems).build();
3737
return ResponseEntity.ok(response);
3838
}
39-
39+
4040
@GetMapping("/items/{id}")
4141
public ResponseEntity<MediaItemResponse> getItemById(@PathVariable UUID id) {
4242
SearchCriteria criteria = SearchCriteria.builder().id(id.toString()).build();

0 commit comments

Comments
 (0)