Skip to content

Commit

Permalink
refactor : rename
Browse files Browse the repository at this point in the history
  • Loading branch information
NameIsUser06 committed Jan 5, 2024
1 parent 3d99eb2 commit 568e171
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public class FileController {
private final GetFileService getFileService;

@GetMapping
public ResponseEntity<Resource> getImage(@RequestParam Long fileId, HttpServletRequest httpServletRequest) throws IOException {
public ResponseEntity<Resource> getFile(@RequestParam Long fileId, HttpServletRequest httpServletRequest) throws IOException {
return getFileService.execute(fileId, httpServletRequest);
}
}

0 comments on commit 568e171

Please sign in to comment.