Skip to content

Commit

Permalink
Merge pull request #285 from CaZaIt/refactor/menu
Browse files Browse the repository at this point in the history
[Chore] #283 - 메소드 네이밍 변경
  • Loading branch information
parkrootseok authored Jun 19, 2023
2 parents 3b3ea16 + 5e2fbed commit 2894950
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public SuccessResponse<MenuCreateOutDTO> registerMenu(@PathVariable Long cafeId,
@Parameter(description = "메뉴 이미지") @RequestPart(required = false) MultipartFile image)
throws CafeException, IOException {
MenuCreateInDTO menuCreateInDTO = objectMapper.readValue(information, new TypeReference<>() {});
return new SuccessResponse<>(CREATE_MENU, cafeMenuService.registerMenu(cafeId, menuCreateInDTO, image));
return new SuccessResponse<>(CREATE_MENU, cafeMenuService.createMenu(cafeId, menuCreateInDTO, image));
}

@NoAuth
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public List<MenuListOutDTO> getMenu(Long cafeId) {
/**
* 카페 메뉴 등록
*/
public MenuCreateOutDTO registerMenu(Long cafeId, MenuCreateInDTO menuCreateInDTO, MultipartFile menuImage)
public MenuCreateOutDTO createMenu(Long cafeId, MenuCreateInDTO menuCreateInDTO, MultipartFile menuImage)
throws CafeException, IOException {

String uploadFileName = null;
Expand Down

0 comments on commit 2894950

Please sign in to comment.