refactor /auth/me into /me

This commit is contained in:
Alex Holliday committed 2025-12-14 17:16:21 +00:00
1 parent 4b92b2a8df
commit 1a2d11e6de
14 files changed
+226 -110

No files matched your search

@@ -32,7 +32,7 @@ export const AuthVerifier = ({ children }: { children: ReactNode }) => {
}
const verify = async () => {
try {
const res = await get<ApiResponse<IUser>>("/auth/me");
const res = await get<ApiResponse<IUser>>("/me");
const user: IUser = res.data.data;
dispatch(setAuthenticated(true));
dispatch(setUser(user));