Skip to content

Commit b077575

Browse files
committed
fix: axios error custom message is unneeded
1 parent 6ed112d commit b077575

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

resources/js/service/api.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,6 @@ const handleError = async (error: AxiosError<{ message?: string }>) => {
9191
router.replace({ path: '/' });
9292
}
9393

94-
error.message = `Login Expired: ${message}`;
9594
throw error;
9695
}
9796

0 commit comments

Comments
 (0)