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 + : '', + }; } }