base refresh token
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user