diff --git a/lib/index.js b/lib/index.js index 00c1107..b191b0b 100644 --- a/lib/index.js +++ b/lib/index.js @@ -64,7 +64,7 @@ export async function downloadUpdate(options) { await HotUpdate.downloadPatchFromPpk({ updateUrl: options.diffUrl, hashName: options.hash, - originHash: currentVersion, + originHashName: currentVersion, }); } else if (options.pdiffUrl) { await HotUpdate.downloadPatchFromPackage({