Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delete thread - Method not allowed #358

Open
ppweissqhse opened this issue Aug 16, 2024 · 0 comments
Open

Delete thread - Method not allowed #358

ppweissqhse opened this issue Aug 16, 2024 · 0 comments

Comments

@ppweissqhse
Copy link

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 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant