From 2d060ff79b9825f69f057054f8ca8b63ff982a4c Mon Sep 17 00:00:00 2001 From: Ahmed Ali Date: Thu, 25 Jun 2020 09:40:00 +0200 Subject: [PATCH] fix args for encrypt method --- src/provider/Provider.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/provider/Provider.ts b/src/provider/Provider.ts index 36fb9db34..1d123a42a 100644 --- a/src/provider/Provider.ts +++ b/src/provider/Provider.ts @@ -47,8 +47,8 @@ export class Provider extends Instantiable { ) const args = { - did, - signature, + documentId: did, + signature: signature, document: JSON.stringify(document), publisherAddress: account.getId() }