debug: log raw body on /user/install to identify Evotor payload structure
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user