An account refers to the user the active session is logged in as. As such it doesn't make sense outside of the /auth API paths that deals with the current authenticated user. Move /api/account to /api/auth/account to reflect this. |
||
---|---|---|
.. | ||
api | ||
utils | ||
database.ts | ||
generate-demo-schedule.ts | ||
streams.ts | ||
tsconfig.json | ||
web-push.ts |