mirror of https://github.com/xfarrow/blink
Change DeletePerson endpoint name
This commit is contained in:
parent
d9c3f6f55a
commit
94d6df0a49
|
@ -320,8 +320,8 @@ publicRoutes.get('/person/activation', confirmActivation);
|
|||
const protectedRoutes = express.Router(); // Routes requiring token
|
||||
protectedRoutes.use(jwtUtils.verifyToken);
|
||||
protectedRoutes.get('/person/myself', getMyself);
|
||||
protectedRoutes.put('/person/', updatePerson);
|
||||
protectedRoutes.delete('/person/delete', deletePerson);
|
||||
protectedRoutes.put('/person', updatePerson);
|
||||
protectedRoutes.delete('/person', deletePerson);
|
||||
|
||||
// Exporting a function
|
||||
// means making a JavaScript function defined in one
|
||||
|
|
Loading…
Reference in New Issue