Update routes/support.py
Browse files- routes/support.py +1 -1
routes/support.py
CHANGED
@@ -113,7 +113,7 @@ async def get_user_tickets(
|
|
113 |
|
114 |
# Buscar nome do suporte
|
115 |
async with session.get(
|
116 |
-
f"{SUPABASE_URL}/rest/v1/
|
117 |
headers=SUPABASE_ROLE_HEADERS
|
118 |
) as user_resp:
|
119 |
support_name = "Support"
|
|
|
113 |
|
114 |
# Buscar nome do suporte
|
115 |
async with session.get(
|
116 |
+
f"{SUPABASE_URL}/rest/v1/User?id=eq.{support_reply['user']}",
|
117 |
headers=SUPABASE_ROLE_HEADERS
|
118 |
) as user_resp:
|
119 |
support_name = "Support"
|