From 8ebed47574482be3cfd95843e64913b407c24c14 Mon Sep 17 00:00:00 2001 From: _Bastler Date: Sun, 13 Mar 2022 16:23:03 +0100 Subject: [PATCH] debug --- .../de/bstly/we/partey/api/controller/WokaController.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/partey/src/main/java/de/bstly/we/partey/api/controller/WokaController.java b/partey/src/main/java/de/bstly/we/partey/api/controller/WokaController.java index ba737e4..505dbed 100644 --- a/partey/src/main/java/de/bstly/we/partey/api/controller/WokaController.java +++ b/partey/src/main/java/de/bstly/we/partey/api/controller/WokaController.java @@ -4,6 +4,7 @@ package de.bstly.we.partey.api.controller; import java.util.Map; +import java.util.Optional; import javax.servlet.http.HttpServletRequest; @@ -43,7 +44,11 @@ public class WokaController extends DebugLogger { parteyApiAuthentication.authenticateRequest(request); debugPrintRequest(request); - return wokaListManager.getWokaList(); + Map wokaList = wokaListManager.getWokaList(); + + debugPrintResponse(request, Optional.of(wokaList)); + + return wokaList; } }