mirror of
https://github.com/hknsh/project-knedita.git
synced 2024-11-28 17:41:15 +00:00
Updated route endpoint
This commit is contained in:
parent
a075da4aba
commit
02e4075ab2
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ usersRouter.get('/search', user.searchUser)
|
||||||
// POST
|
// POST
|
||||||
usersRouter.post('/auth', user.auth)
|
usersRouter.post('/auth', user.auth)
|
||||||
usersRouter.post('/delete', authenticated, user.delete)
|
usersRouter.post('/delete', authenticated, user.delete)
|
||||||
usersRouter.post('/fetch', authenticated, user.fetchUser)
|
usersRouter.post('/me', authenticated, user.fetchUser)
|
||||||
usersRouter.post('/follow-user', authenticated, user.follow)
|
usersRouter.post('/follow-user', authenticated, user.follow)
|
||||||
usersRouter.post('/like-comment', authenticated, user.likeComment)
|
usersRouter.post('/like-comment', authenticated, user.likeComment)
|
||||||
usersRouter.post('/like-post', authenticated, user.likePost)
|
usersRouter.post('/like-post', authenticated, user.likePost)
|
||||||
|
|
Loading…
Reference in a new issue