From 03b5aec4f1491dd9f740e77b14b75108ca06c49e Mon Sep 17 00:00:00 2001 From: kgy1008 Date: Tue, 12 Nov 2024 20:58:49 +0900 Subject: [PATCH] [refactor] change method name --- .../hankkiserver/api/menu/controller/MenuController.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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();