From 3141f97f41a819c2333b54150098c8a5d8bb8b9d Mon Sep 17 00:00:00 2001 From: reynisson Date: Sat, 20 Nov 2021 23:08:22 +0100 Subject: [PATCH] smaller fixes --- .../adapter/out/web/AuctionWonEventHttpAdapter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {