diff --git a/tapas-auction-house/src/main/java/ch/unisg/tapas/auctionhouse/adapter/out/web/AuctionWonEventHttpAdapter.java b/tapas-auction-house/src/main/java/ch/unisg/tapas/auctionhouse/adapter/out/web/AuctionWonEventHttpAdapter.java index 9dc1508..ec04b2b 100644 --- a/tapas-auction-house/src/main/java/ch/unisg/tapas/auctionhouse/adapter/out/web/AuctionWonEventHttpAdapter.java +++ b/tapas-auction-house/src/main/java/ch/unisg/tapas/auctionhouse/adapter/out/web/AuctionWonEventHttpAdapter.java @@ -68,7 +68,7 @@ public class AuctionWonEventHttpAdapter implements AuctionWonEventPort { .POST(HttpRequest.BodyPublishers.ofString(body)) .build(); - var postResponse = client.send(request, HttpResponse.BodyHandlers.ofString()); + var postResponse = client.send(postRequest, HttpResponse.BodyHandlers.ofString()); LOGGER.info(postResponse.statusCode()); } catch (IOException e) {