diff --git a/src/main/java/org/folio/circulation/support/Clients.java b/src/main/java/org/folio/circulation/support/Clients.java index 78cd6271dc..4f79e5836a 100644 --- a/src/main/java/org/folio/circulation/support/Clients.java +++ b/src/main/java/org/folio/circulation/support/Clients.java @@ -826,7 +826,7 @@ private CollectionResourceClient createPrintEventsStorageClient( OkapiHttpClient client, WebContext context) throws MalformedURLException { return getCollectionResourceClient(client, context, - "/print-events-storage/print-events"); + "/print-events-storage"); } private GetManyRecordsClient createSettingsStorageClient( diff --git a/src/test/java/api/support/fakes/FakeOkapi.java b/src/test/java/api/support/fakes/FakeOkapi.java index 1275386fa4..f8742a1c36 100644 --- a/src/test/java/api/support/fakes/FakeOkapi.java +++ b/src/test/java/api/support/fakes/FakeOkapi.java @@ -423,7 +423,7 @@ public void start(Promise startFuture) throws IOException { .create().register(router); new FakeStorageModuleBuilder() - .withRootPath("/print-events-storage/print-events") + .withRootPath("/print-events-storage") .withChangeMetadata() .create().register(router);