fix route refresh
This commit is contained in:
@@ -44,7 +44,7 @@ export const refreshToken = async (
|
|||||||
params: RefreshTokenType
|
params: RefreshTokenType
|
||||||
): Promise<RefreshTokenResponse> => {
|
): Promise<RefreshTokenResponse> => {
|
||||||
const { data } = await axios.post<RefreshTokenResponse>(
|
const { data } = await axios.post<RefreshTokenResponse>(
|
||||||
`/auth/refresh`,
|
`/admin/auth/refresh`,
|
||||||
params
|
params
|
||||||
);
|
);
|
||||||
return data;
|
return data;
|
||||||
|
|||||||
Reference in New Issue
Block a user