You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Im trying to use the Delete route /threads/{id} and the server response is : {details: Method not allowed}. However i see that the route in the threads.py file has the route defined.
@router.delete("/{tid}") async def delete_thread( user: AuthedUser, tid: ThreadID, ): """Delete a thread by ID.""" await storage.delete_thread(user["user_id"], tid) return {"status": "ok"}
Is there an issue with the use of this route ? This will be patch in the next update ?
The text was updated successfully, but these errors were encountered:
Im trying to use the Delete route /threads/{id} and the server response is : {details: Method not allowed}. However i see that the route in the threads.py file has the route defined.
@router.delete("/{tid}") async def delete_thread( user: AuthedUser, tid: ThreadID, ): """Delete a thread by ID.""" await storage.delete_thread(user["user_id"], tid) return {"status": "ok"}
Is there an issue with the use of this route ? This will be patch in the next update ?
The text was updated successfully, but these errors were encountered: