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. |
||
---|---|---|
.. | ||
accounts | ||
auth | ||
events.ts | ||
schedule.patch.ts | ||
schedule.ts | ||
subscribe.post.ts | ||
unsubscribe.post.ts |