diff --git a/scripts/check-account-deletion.js b/scripts/check-account-deletion.js index cf271a1da..0532e69ed 100644 --- a/scripts/check-account-deletion.js +++ b/scripts/check-account-deletion.js @@ -41,7 +41,7 @@ nThen((waitFor) => { pinned = Pins.calculateFromLog(content.toString('utf8'), f); })); }).nThen((waitFor) => { - Pinned.load(waitFor((d) => { + Pinned.load(waitFor((err, d) => { data = Object.keys(d); }), { exclude: [edPublic + '.ndjson']