Arcader7171 commited on
Commit
47afa07
·
verified ·
1 Parent(s): 04ff247

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -94,7 +94,7 @@ async def signupAPI():
94
  response = dbResponse["data"][0]
95
  return make_response(response), 200
96
 
97
- @app.post("/api/message")
98
  async def messageAPI():
99
  supabase: AsyncClient = await acreate_client(url, serviceKey)
100
  if request.method == 'POST':
 
94
  response = dbResponse["data"][0]
95
  return make_response(response), 200
96
 
97
+ @app.post("/api/messages")
98
  async def messageAPI():
99
  supabase: AsyncClient = await acreate_client(url, serviceKey)
100
  if request.method == 'POST':