mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-08 21:29:12 +00:00
Revert none checking in telemetry logs
This commit is contained in:
@@ -86,9 +86,9 @@ def update_telemetry_state(
|
|||||||
"user_agent": user_agent or "unknown",
|
"user_agent": user_agent or "unknown",
|
||||||
"referer": referer or "unknown",
|
"referer": referer or "unknown",
|
||||||
"host": host or "unknown",
|
"host": host or "unknown",
|
||||||
"server_id": str(user.uuid),
|
"server_id": str(user.uuid) if user else None,
|
||||||
"subscription_type": subscription.type,
|
"subscription_type": subscription.type if subscription else None,
|
||||||
"is_recurring": subscription.is_recurring,
|
"is_recurring": subscription.is_recurring if subscription else None,
|
||||||
"client_id": str(client_app.name) if client_app else "default",
|
"client_id": str(client_app.name) if client_app else "default",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user