diff --git a/src/modules/utils/index.ts b/src/modules/utils/index.ts index 7b39dbd..37d5535 100644 --- a/src/modules/utils/index.ts +++ b/src/modules/utils/index.ts @@ -32,7 +32,7 @@ export class UtilsModule extends BaseModule { // Validate DID token try { this.sdk.token.validate(didToken); - } catch (e) { + } catch (e: any) { // Check if code is malformed token if ((e as MagicAdminSDKError).code === 'ERROR_MALFORMED_TOKEN') { return {