This commit is contained in:
_Bastler 2022-03-13 16:23:03 +01:00
parent 8583bec0c6
commit 8ebed47574

View File

@ -4,6 +4,7 @@
package de.bstly.we.partey.api.controller; package de.bstly.we.partey.api.controller;
import java.util.Map; import java.util.Map;
import java.util.Optional;
import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletRequest;
@ -43,7 +44,11 @@ public class WokaController extends DebugLogger {
parteyApiAuthentication.authenticateRequest(request); parteyApiAuthentication.authenticateRequest(request);
debugPrintRequest(request); debugPrintRequest(request);
return wokaListManager.getWokaList(); Map<String, WokaLayer> wokaList = wokaListManager.getWokaList();
debugPrintResponse(request, Optional.of(wokaList));
return wokaList;
} }
} }