Skip to content

Commit

Permalink
fix: Update db.py missing unique_api_key_id (#1880)
Browse files Browse the repository at this point in the history
Signed-off-by: Tal <[email protected]>
  • Loading branch information
talboren authored Sep 9, 2024
1 parent 64c4e0a commit c4b819e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion keep/api/core/db.py
Original file line number Diff line number Diff line change
Expand Up @@ -1637,7 +1637,7 @@ def update_key_last_used(
# shouldn't happen but somehow happened to specific tenant so logging it
logger.error(
"API key not found",
extra={"tenant_id": tenant_id, "unique_api_key_id": unique_api_key_id},
extra={"tenant_id": tenant_id, "unique_api_key_id": reference_id},
)
return
tenant_api_key_entry.last_used = datetime.utcnow()
Expand Down

0 comments on commit c4b819e

Please sign in to comment.