Arcader7171 commited on
Commit
54c1ffa
·
verified ·
1 Parent(s): 5f9d969

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -87,7 +87,7 @@ def loginAPI():
87
  try:
88
  response = (
89
  supabase.table("users")
90
- .select("username, password", count="exact")
91
  .eq("username", inUser)
92
  .execute()
93
  )
@@ -95,7 +95,7 @@ def loginAPI():
95
  return f"Exception - {e}", 500
96
  #if response["count"] == None:
97
  # return
98
- data = response["data"]
99
  return data, 200
100
  """
101
  data = response["data"]
 
87
  try:
88
  response = (
89
  supabase.table("users")
90
+ .select("username, password", count="exact")
91
  .eq("username", inUser)
92
  .execute()
93
  )
 
95
  return f"Exception - {e}", 500
96
  #if response["count"] == None:
97
  # return
98
+ data = response.data
99
  return data, 200
100
  """
101
  data = response["data"]