Skip to content

Commit

Permalink
Update api response
Browse files Browse the repository at this point in the history
  • Loading branch information
JuditKaramazov committed Mar 25, 2024
1 parent e4ba3b0 commit 63b8660
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pythomazov/api/SupabaseAPI.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ def __init__(self) -> None:

def featured(self) -> list[Featured]:

response = self.supabase.table("featured").select("*").execute()
response = self.supabase.table(
"featured").select("*").order("init_date", desc=True).limit(1).execute()

featured_data = []

Expand Down

0 comments on commit 63b8660

Please sign in to comment.