use correct function signature for Pinned.load

This commit is contained in:
ansuz 2020-01-10 12:29:57 -05:00
parent 9f8f6399d8
commit b5b3e99e56
1 changed files with 1 additions and 1 deletions

View File

@ -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']