From 4fddadb11f8584cffc921c3ef29ea4484395a8eb Mon Sep 17 00:00:00 2001 From: Pratap2018 Date: Tue, 20 Aug 2024 19:26:18 +0530 Subject: [PATCH] fix-schema --- src/schema/services/schema.service.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/schema/services/schema.service.ts b/src/schema/services/schema.service.ts index 6a04b78c..f5732639 100644 --- a/src/schema/services/schema.service.ts +++ b/src/schema/services/schema.service.ts @@ -282,6 +282,10 @@ export class SchemaService { } Logger.log('registerSchema() method: ends....', 'SchemaService'); - return { transactionHash: registeredSchema?.transactionHash }; + return { + transactionHash: registeredSchema?.transactionHash + ? registeredSchema?.transactionHash + : '', + }; } }