Skip to content

Commit

Permalink
hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
voynow committed Oct 10, 2024
1 parent 8875dfe commit 73c99d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/supabase_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ def has_user_updated_today(athlete_id: int) -> bool:
return False

# "Has this user posted an activity in the last 23 hours and 30 minutes?"
time_diff = datetime.now(timezone.utc) - datetime.fromisoformat(
time_diff = datetime.datetime.now(timezone.utc) - datetime.datetime.fromisoformat(
response.data[0]["created_at"]
)
return time_diff < timedelta(hours=23, minutes=30)

0 comments on commit 73c99d6

Please sign in to comment.