diff --git a/src/main/java/org/hankki/hankkiserver/api/menu/controller/MenuController.java b/src/main/java/org/hankki/hankkiserver/api/menu/controller/MenuController.java index 56f8342a..5c5fab9a 100644 --- a/src/main/java/org/hankki/hankkiserver/api/menu/controller/MenuController.java +++ b/src/main/java/org/hankki/hankkiserver/api/menu/controller/MenuController.java @@ -46,8 +46,8 @@ public HankkiResponse updateMenu(@PathVariable("storeId") @Min(value = 1L) } @PostMapping("{storeId}/menus/bulk") - public HankkiResponse createMenu(@PathVariable @Min(value = 1L) final long storeId, - @Valid @RequestBody final List request) { + public HankkiResponse createMenus(@PathVariable @Min(value = 1L) final long storeId, + @Valid @RequestBody final List request) { List command = request.stream() .map(r -> MenuPostCommand.of(r.name(), r.price())) .toList();