From cf99fe6ca9e7e7bae5bd15912ec5660d53b5841b Mon Sep 17 00:00:00 2001 From: pshenmic Date: Wed, 25 Dec 2024 03:33:51 +0700 Subject: [PATCH] chore(js-sdk): cleanup --- .../src/SDK/Client/Platform/methods/documents/broadcast.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/js-dash-sdk/src/SDK/Client/Platform/methods/documents/broadcast.ts b/packages/js-dash-sdk/src/SDK/Client/Platform/methods/documents/broadcast.ts index eeab6b36fa..7b6bc0fc1c 100644 --- a/packages/js-dash-sdk/src/SDK/Client/Platform/methods/documents/broadcast.ts +++ b/packages/js-dash-sdk/src/SDK/Client/Platform/methods/documents/broadcast.ts @@ -25,7 +25,7 @@ export default async function broadcast( this.logger.debug('[Document#broadcast] Broadcast documents', { create: documents.create?.length || 0, replace: documents.replace?.length || 0, - delete: documents.delete?.length || 0 + delete: documents.delete?.length || 0, }); await this.initialize(); @@ -35,7 +35,7 @@ export default async function broadcast( const dataContractId = [ ...(documents.create || []), ...(documents.replace || []), - ...(documents.delete || []), + ...(documents.delete || []) ][0]?.getDataContractId(); if (!dataContractId) {