Skip to content

Commit

Permalink
chore(js-sdk): cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
pshenmic committed Dec 24, 2024
1 parent 43cc7f1 commit cf99fe6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand All @@ -35,7 +35,7 @@ export default async function broadcast(
const dataContractId = [
...(documents.create || []),
...(documents.replace || []),
...(documents.delete || []),
...(documents.delete || [])
][0]?.getDataContractId();

if (!dataContractId) {
Expand Down

0 comments on commit cf99fe6

Please sign in to comment.