Skip to content

Commit

Permalink
suggested changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Bahugunajii committed Dec 21, 2023
1 parent 1f32f23 commit dc22ad8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/validation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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),
});

Expand Down

0 comments on commit dc22ad8

Please sign in to comment.