From a3f6697bc4c46b24c2a7c3fcc8a10e09c7790697 Mon Sep 17 00:00:00 2001 From: mguschin Date: Sun, 24 May 2026 16:45:55 +0300 Subject: [PATCH] debug: log raw body on /user/install to identify Evotor payload structure Co-Authored-By: Claude Sonnet 4.6 --- web/routes/evotor_webhooks.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/web/routes/evotor_webhooks.py b/web/routes/evotor_webhooks.py index bd52d78..5ddf505 100644 --- a/web/routes/evotor_webhooks.py +++ b/web/routes/evotor_webhooks.py @@ -281,6 +281,8 @@ async def user_install(request: Request, db: Session = Depends(get_db)): except Exception: return JSONResponse({"error": "Invalid JSON"}, status_code=400) + logger.info("user/install body=%s", body) + evotor_user_id: str = body.get("userId", "") event_type: str = body.get("type", "").lower() # "install" or "uninstall"