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. |
||
---|---|---|
.. | ||
account.ts | ||
schedules.ts | ||
session.ts |