removed any

This commit is contained in:
Miodec 2022-02-26 23:38:07 +01:00
parent acc5d147f2
commit c6bb3be6b9

View file

@ -154,10 +154,10 @@ export function verify(
} else {
return null;
}
} catch (e: any) {
} catch (e) {
console.error(e);
Notifications.add(
`Something went wrong when verifying challenge: ${e.message}`,
`Something went wrong when verifying challenge: ${(e as Error).message}`,
0
);
return null;