type caught error to any
This commit is contained in:
@ -45,7 +45,7 @@ export default resolver.pipe(
|
||||
keys_auth: subscription.keys.auth,
|
||||
},
|
||||
});
|
||||
} catch (error) {
|
||||
} catch (error: any) {
|
||||
if (error.code !== "P2002") {
|
||||
logger.error(error);
|
||||
// we might want to `throw error`;
|
||||
|
Reference in New Issue
Block a user