Commit Graph

10 Commits

Author SHA1 Message Date
088232f750
refactor(api & server/utils): refactor imports of db helpers
create an index file which exports the functions we need in one accessible place
2023-12-11 21:29:46 -05:00
96a0d36bef
fix(api): update user stories endpoint
it now takes into account the new return type for `listQuerier`
2023-12-06 21:52:04 -05:00
c9f5d5466d
fix(api): populate user's favourite stories' bands 2023-12-06 21:46:33 -05:00
5b3515ff8e
fix(api): fix shared ip route to not return the current user in the query 2023-10-11 14:17:15 -04:00
e8bd88e58c
feat(api): create an endpoint to retrieve users with the same ip address as another user 2023-10-11 13:24:10 -04:00
66cfee819d
feat(api): add endpoint to promote/demote a user to/from an admin 2023-10-10 21:58:29 -04:00
309e880b69
feat(api): create endpoint to ban/unban a user
yeeting is now possible :D
2023-10-10 21:57:35 -04:00
6afc547f8e
feat(api): add endpoints for blocking/unblocking a specific user 2023-10-10 21:55:15 -04:00
8bf78a0494
feat(api): add endpoint to get all non-hidden stories a user has written 2023-10-10 21:54:37 -04:00
79f5f2cc10
feat(api): add endpoint for fetching full info for a user 2023-10-10 21:53:53 -04:00