mirror of https://github.com/xwiki-labs/cryptpad
use correct function signature for Pinned.load
This commit is contained in:
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…
Reference in New Issue