We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug When Deleting a non-empty category you get an http 500 error
To Reproduce Make a DELETE request to "api.old.server.spacebar.chat/api/v9/channels/"+categoryID where the category in question isn't empty
Expected behavior It should delete, instead you get an 500 Internal Server Error
{ "code": 500, "message": "QueryFailedError: update or delete on table \"channels\" violates foreign key constraint \"FK_3274522d14af40540b1a883fc80\" on table \"channels\"" }
Additional context This is running off of jank client, but it works just fine when jank client is deleting non-empty categories or channels
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Describe the bug
When Deleting a non-empty category you get an http 500 error
To Reproduce
Make a DELETE request to "api.old.server.spacebar.chat/api/v9/channels/"+categoryID where the category in question isn't empty
Expected behavior
It should delete, instead you get an 500 Internal Server Error
Additional context
This is running off of jank client, but it works just fine when jank client is deleting non-empty categories or channels
The text was updated successfully, but these errors were encountered: