diff --git a/packages/restapi/src/lib/chat/helpers/crypto.ts b/packages/restapi/src/lib/chat/helpers/crypto.ts index 85edfe940..caeb113ee 100644 --- a/packages/restapi/src/lib/chat/helpers/crypto.ts +++ b/packages/restapi/src/lib/chat/helpers/crypto.ts @@ -442,7 +442,7 @@ export const decryptAndVerifyMessage = async ( message: IMessageIPFS | IMessageIPFSWithCID, pgpPublicKey: string, pgpPrivateKey: string, - pgpHelper: IPGPHelper + pgpHelper = PGP.PGPHelper ): Promise => { /**