Skip to content

Commit

Permalink
fix: pass default pgpHelper in decryptAndVerifyMessage fnc
Browse files Browse the repository at this point in the history
  • Loading branch information
kalashshah committed Nov 21, 2023
1 parent 0d456a0 commit 30602f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/restapi/src/lib/chat/helpers/crypto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ export const decryptAndVerifyMessage = async (
message: IMessageIPFS | IMessageIPFSWithCID,
pgpPublicKey: string,
pgpPrivateKey: string,
pgpHelper: IPGPHelper
pgpHelper = PGP.PGPHelper

): Promise<IMessageIPFS | IMessageIPFSWithCID> => {
/**
Expand Down

0 comments on commit 30602f1

Please sign in to comment.