mirror of
https://github.com/danbulant/Portfolio
synced 2026-05-24 12:35:31 +00:00
fix: any
This commit is contained in:
parent
cae9e387b9
commit
919b44fd2a
1 changed files with 1 additions and 1 deletions
|
|
@ -6,7 +6,7 @@ export async function apiWhoami(): Promise<string> {
|
|||
try {
|
||||
const res = await axios.get(`${API_URL}/whoami`);
|
||||
return res.data;
|
||||
} catch (e) {
|
||||
} catch (e: any) {
|
||||
throw errorHandler(e, 'Whoami failed');
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue