Spaces:
Sleeping
Sleeping
Update models/supabase_models.py
Browse files
models/supabase_models.py
CHANGED
@@ -30,9 +30,10 @@ def AuthUser_Validator(apitoken: str):
|
|
30 |
return str(user.user.id)
|
31 |
except Exception as e:
|
32 |
print("Exceptional error")
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
|
|
|
30 |
return str(user.user.id)
|
31 |
except Exception as e:
|
32 |
print("Exceptional error")
|
33 |
+
return "Exceptional error"
|
34 |
+
# if apitoken == settings.SUPABASE_ANON_KEY:
|
35 |
+
# return "Exceptional error"
|
36 |
+
# raise HTTPException(
|
37 |
+
# status_code=401,
|
38 |
+
# detail=f"invalid Api Token: unable to parse or verify signature, signing method (alg) is unavailable.",
|
39 |
+
# )
|