diff --git a/src/did/services/did.service.ts b/src/did/services/did.service.ts index f8ec5991..2e6df970 100644 --- a/src/did/services/did.service.ts +++ b/src/did/services/did.service.ts @@ -535,7 +535,7 @@ export class DidService { }); // If signature is passed then no need to check if it is present in db or not - if (!signInfos && (!didInfo || didInfo == null)) { + if (signInfos == undefined && (!didInfo || didInfo == null)) { throw new NotFoundException([ `${did} not found`, `${did} is not owned by the appId ${appDetail.appId}`,