Skip to content

Commit

Permalink
[refactor] change method name
Browse files Browse the repository at this point in the history
  • Loading branch information
kgy1008 committed Nov 12, 2024
1 parent bc4b04e commit 03b5aec
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ public HankkiResponse<Void> updateMenu(@PathVariable("storeId") @Min(value = 1L)
}

@PostMapping("{storeId}/menus/bulk")
public HankkiResponse<MenusPostResponse> createMenu(@PathVariable @Min(value = 1L) final long storeId,
@Valid @RequestBody final List<MenuPostRequest> request) {
public HankkiResponse<MenusPostResponse> createMenus(@PathVariable @Min(value = 1L) final long storeId,
@Valid @RequestBody final List<MenuPostRequest> request) {
List<MenuPostCommand> command = request.stream()
.map(r -> MenuPostCommand.of(r.name(), r.price()))
.toList();
Expand Down

0 comments on commit 03b5aec

Please sign in to comment.