Skip to content

Commit

Permalink
Revert none checking in telemetry logs
Browse files Browse the repository at this point in the history
  • Loading branch information
sabaimran committed Jan 25, 2024
1 parent 211c562 commit 737fb64
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/khoj/routers/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,9 @@ def update_telemetry_state(
"user_agent": user_agent or "unknown",
"referer": referer or "unknown",
"host": host or "unknown",
"server_id": str(user.uuid),
"subscription_type": subscription.type,
"is_recurring": subscription.is_recurring,
"server_id": str(user.uuid) if user else None,
"subscription_type": subscription.type if subscription else None,
"is_recurring": subscription.is_recurring if subscription else None,
"client_id": str(client_app.name) if client_app else "default",
}

Expand Down

0 comments on commit 737fb64

Please sign in to comment.