Update routes/onboarding.py
Browse files- routes/onboarding.py +1 -1
routes/onboarding.py
CHANGED
@@ -83,7 +83,7 @@ async def get_onboarding_questions() -> Dict[str, List[Dict[str, Any]]]:
|
|
83 |
Retorna todas as perguntas de onboarding, separadas por target_type (client e stylist).
|
84 |
"""
|
85 |
try:
|
86 |
-
query_url = f"{SUPABASE_URL}/rest/v1/Onboarding?select=id,title,description,question_type,options,target_type,optional,lock"
|
87 |
headers = SUPABASE_HEADERS.copy()
|
88 |
headers["Accept"] = "application/json"
|
89 |
|
|
|
83 |
Retorna todas as perguntas de onboarding, separadas por target_type (client e stylist).
|
84 |
"""
|
85 |
try:
|
86 |
+
query_url = f"{SUPABASE_URL}/rest/v1/Onboarding?select=id,title,description,question_type,options,target_type,optional,lock&order=created_at.asc"
|
87 |
headers = SUPABASE_HEADERS.copy()
|
88 |
headers["Accept"] = "application/json"
|
89 |
|