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

method ['delete'] still work when nothing provided #144

Open
Megahand opened this issue Oct 9, 2016 · 1 comment
Open

method ['delete'] still work when nothing provided #144

Megahand opened this issue Oct 9, 2016 · 1 comment

Comments

@Megahand
Copy link

Megahand commented Oct 9, 2016

Product.methods([ 'delete' ]);

on url (as exemple) : http://localhost:8080/api/products (no id passed)

still remove the first _id the DB encontered.

@TimKolberger
Copy link

Product.methods([ 'put' ]);
Same with PUT to Ressource path with no id passed.

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

2 participants