Skip to content

Commit d4f62e7

Browse files
committed
fix(js-dash-sdk): fix logging name
1 parent c15202b commit d4f62e7

File tree

1 file changed

+2
-2
lines changed
  • packages/js-dash-sdk/src/SDK/Client/Platform/methods/documents

1 file changed

+2
-2
lines changed

packages/js-dash-sdk/src/SDK/Client/Platform/methods/documents/broadcast.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ export default async function broadcast(
6565

6666
if (documents.transfer?.length && documents.transfer
6767
.some(({ params }) => !params?.receiver)) {
68-
throw new Error('Receiver identity is not found for transfer transition');
68+
throw new Error('Receiver Identity is not found for Transfer transition');
6969
}
7070

7171
if (documents.updatePrice?.length && documents.updatePrice
@@ -76,7 +76,7 @@ export default async function broadcast(
7676
if (documents.purchase?.length) {
7777
if (documents.purchase
7878
.some(({ params }) => !params?.price || !params?.receiver)) {
79-
throw new Error('Receiver and Price must be provided for UpdatePrice operation');
79+
throw new Error('Receiver and Price must be provided for Purchase operation');
8080
} else {
8181
documents.purchase.forEach(({ document, params }) => document.setOwnerId(params!.receiver));
8282
}

0 commit comments

Comments
 (0)