diff --git a/frontend/src/@api/candidate.ts b/frontend/src/@api/candidate.ts index 72e997b..cc85244 100644 --- a/frontend/src/@api/candidate.ts +++ b/frontend/src/@api/candidate.ts @@ -6,7 +6,7 @@ export async function apiWhoami(): Promise { try { const res = await axios.get(`${API_URL}/whoami`); return res.data; - } catch (e) { + } catch (e: any) { throw errorHandler(e, 'Whoami failed'); } }