diff --git a/services/validation.ts b/services/validation.ts index a8bcbff..66d6ebd 100644 --- a/services/validation.ts +++ b/services/validation.ts @@ -22,7 +22,7 @@ export async function verifyToken() { } catch (error: any) { if (error.response.data.detail === "Signature has expired" && refreshToken) { try { - const refreshResponse = await axios.post(refreshUrl, { + const refreshResponse = await axios.post(refreshUrl, {}, { ...getAxiosConfig(refreshToken), });