Athma-Vasi / MacAuley-Tech-Repair-Employee-Portal---backend

0 stars 0 forks source link

change delete all route #40

Open Athma-Vasi opened 1 year ago

Athma-Vasi commented 1 year ago

instead of delete all route being DELETE '/', move it to a separate sub route: '/delete-all' to prevent accidental deletion of all associated resource if empty string is accidentally passed in url from front end