From cbd0c788456105d755d87219796db1424f86c10b Mon Sep 17 00:00:00 2001 From: saba_zedginidze Date: Tue, 27 Aug 2024 16:21:38 +0400 Subject: [PATCH] [MODINVSTOR-1243] Add body handler --- src/main/java/org/folio/inventory/resources/TenantItems.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/org/folio/inventory/resources/TenantItems.java b/src/main/java/org/folio/inventory/resources/TenantItems.java index be6eb1f1f..400d66f0e 100644 --- a/src/main/java/org/folio/inventory/resources/TenantItems.java +++ b/src/main/java/org/folio/inventory/resources/TenantItems.java @@ -33,6 +33,7 @@ import io.vertx.ext.web.Router; import io.vertx.ext.web.RoutingContext; import io.vertx.ext.web.client.WebClient; +import io.vertx.ext.web.handler.BodyHandler; public class TenantItems { @@ -49,6 +50,7 @@ public TenantItems(HttpClient client) { } public void register(Router router) { + router.post(TENANT_ITEMS_PATH + "*").handler(BodyHandler.create()); router.post(TENANT_ITEMS_PATH).handler(this::getItemsFromTenants); }