From b5b3e99e56af8bfaa31ff82582146eeea4bfd38c Mon Sep 17 00:00:00 2001 From: ansuz Date: Fri, 10 Jan 2020 12:29:57 -0500 Subject: [PATCH] use correct function signature for Pinned.load --- scripts/check-account-deletion.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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']