Skip to content
Discussion options

You must be logged in to vote

no way, it just a typo guys, lol

i can't see it for a whole day because there is no linting error or hint what so ever, because the routes is defined with string, now i can delete from database

-       .delete('/treads/:id', [ThreadController, 'destroy'])
+      .delete('/threads/:id', [ThreadController, 'destroy'])

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@fzhnf
Comment options

Answer selected by fzhnf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
1 participant