Skip to content

Commit

Permalink
Fix checkDB omission on merge
Browse files Browse the repository at this point in the history
  • Loading branch information
queuedq authored Jun 20, 2021
1 parent c137854 commit 78398f2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/com/cse364/api/HttpController.java
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,7 @@ public List<MovieDto> recommendationsByMovie(@RequestBody Map<String, String> js
@GetMapping("/movies")
@ResponseBody
public List<MovieDto> getAllMovies() {
checkDB();
return movies.all()
.stream()
.map(MovieDto::fromMovie)
Expand Down

0 comments on commit 78398f2

Please sign in to comment.