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; } }