Skip to content

Commit 01ab969

Browse files
bkonturrosarp
authored andcommitted
Apply suggestions from code review
1 parent 9fb5fb9 commit 01ab969

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/authorize_preimage_and_store_papi.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@ async function main() {
2525
// Data to store.
2626
const dataToStore = "Hello, Bulletin with PAPI - " + new Date().toString();
2727
let expectedCid = await cidFromBytes(dataToStore);
28-
let contentHashes = contentHash(dataToStore);
28+
let contentHash = contentHash(dataToStore);
2929

3030
// Authorize an account.
3131
await authorizePreimage(
3232
bulletinAPI,
3333
sudoSigner,
34-
contentHashes,
34+
contentHash,
3535
BigInt(dataToStore.length)
3636
);
3737

0 commit comments

Comments
 (0)