diff --git a/src/main/java/org/folio/circulation/resources/PrintEventsResource.java b/src/main/java/org/folio/circulation/resources/PrintEventsResource.java index c18fbe6f96..22f9e64626 100644 --- a/src/main/java/org/folio/circulation/resources/PrintEventsResource.java +++ b/src/main/java/org/folio/circulation/resources/PrintEventsResource.java @@ -37,11 +37,10 @@ void create(RoutingContext routingContext) { final var context = new WebContext(routingContext); final var clients = Clients.create(context, client); final var printEventsRepository = new PrintEventsRepository(clients); - final var incomingRepresentation = routingContext.body().asJsonObject(); final var printEventRequest = PrintEventRequest.from(incomingRepresentation); - log.info("create:: Creating print event: {}", () -> printEventRequest); + log.info("create:: Creating print event: {}", printEventRequest); ofAsync(printEventRequest) .thenApply(refuseWhenPrintEventRequestIsInvalid())