use correct function signature for Pinned.load

pull/1/head
ansuz 5 years ago
parent 9f8f6399d8
commit b5b3e99e56

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

Loading…
Cancel
Save