Skip to content

Delete thread - Method not allowed #358

Open
@ppweissqhse

Description

@ppweissqhse

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 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions