logging requests

This commit is contained in:
zakhy 2025-07-09 10:35:11 +07:00
parent 1ab4139342
commit 770a1019cf

View File

@ -25,6 +25,7 @@ class ActobusCallbackView(View):
try:
event_type = request.GET.get("event", None)
data = json.loads(request.body)
logger.info(f"Actobus: {json.dumps(data, indent=4)}\n")
match event_type:
case "raw_data":
self.service.handle_raw_data(data)