Skip to content

Commit

Permalink
Fix argument order in createPlaceHolder()
Browse files Browse the repository at this point in the history
  • Loading branch information
TooTallNate committed Dec 22, 2024
1 parent 08f2ed0 commit a7e3d01
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/moody-guests-punch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@nx.js/ncm": patch
---

Fix argument order in `createPlaceHolder()`
4 changes: 2 additions & 2 deletions packages/ncm/src/content-storage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ export class NcmContentStorage {
//}
const inData = new ArrayBuffer(0x28);
const inDataView = new Uint8Array(inData);
inDataView.set(new Uint8Array(contentId), 0);
inDataView.set(new Uint8Array(placeholderId), 0x10);
inDataView.set(new Uint8Array(placeholderId), 0);
inDataView.set(new Uint8Array(contentId), 0x10);
new BigInt64Array(inData, 0x20, 1)[0] = size;
this.#srv.dispatchIn(1, inData);
}
Expand Down

0 comments on commit a7e3d01

Please sign in to comment.