From 919b44fd2a4a4d541d023f0d8c3526c4449f7922 Mon Sep 17 00:00:00 2001 From: EETagent Date: Fri, 2 Dec 2022 15:45:27 +0100 Subject: [PATCH] fix: any --- frontend/src/@api/candidate.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'); } }