Skip to content
This repository has been archived by the owner on Feb 27, 2024. It is now read-only.

Commit

Permalink
Fixed merge conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
ErminaTrontzou committed Nov 26, 2022
1 parent 99796a9 commit 6b42cfa
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,6 @@ public ResponseEntity<?> imageByTitle(@PathVariable String title,
if (imagesCount != 0){
Pageable paging = PageRequest.of(page, size);
Page<Image> imagesPage = imageRepository.findAllImagesByTitle(title, paging);
if (imagesPage.getContent().isEmpty()) {
if (getFlickr(title)) {
imagesPage = imageService.getImageByTitle(title, paging);
}
}
return new ResponseEntity<>(imagesPage, HttpStatus.OK);
}
HashMap<String, String> returnMap = new HashMap<String, String>();
Expand Down

0 comments on commit 6b42cfa

Please sign in to comment.