base refresh token

This commit is contained in:
hamid zarghami
2026-01-27 12:39:58 +03:30
parent 9785078c8f
commit 94d10d56a9
4 changed files with 135 additions and 7 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ export const register = async (params: RegisterType) => {
};
export const refreshToken = async (params: RefreshTokenType) => {
const { data } = await axios.post(`/auth/refresh`, params);
const { data } = await axios.post(`/public/auth/refresh`, params);
return data;
};