|
c27c81f39c
|
refactor(api/utils): update isAdmin check
make it also check that the user is logged in; eliminates need to type `isLoggedIn()` on the previous line
|
2023-12-06 21:37:54 -05:00 |
|
|
01d3b7f22b
|
feat(api): integrate co-author feature in api routes and helpers
|
2023-10-11 15:31:02 -04:00 |
|
|
1059b560e6
|
refactor(api/utils): replace repetitive "forbidden" and "unauthorized" literals with constant references
|
2023-10-03 00:50:00 -04:00 |
|
|
1338e87238
|
feat(api/utils): add isadmin check
|
2023-10-03 00:33:54 -04:00 |
|
|
09187fa5ac
|
feat(api): add captcha verify utility
|
2023-10-03 00:26:51 -04:00 |
|
|
2b0d478ca7
|
feat(api): add isLoggedIn utility function
for api routes which require authentication
|
2023-10-02 16:20:13 -04:00 |
|
|
ff4b94d913
|
feat(api): ✏️ add story api endpoints
(update/create/delete)
|
2023-10-02 15:44:55 -04:00 |
|