mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-07-04 16:08:59 +02:00
fix: missing await
This commit is contained in:
@@ -96,8 +96,8 @@ Contexts.getItems = async (uid, id, options) => {
|
|||||||
const inCollection = Array.from(chain).map(p => p.pid).includes(inputId);
|
const inCollection = Array.from(chain).map(p => p.pid).includes(inputId);
|
||||||
if (!inCollection) {
|
if (!inCollection) {
|
||||||
chain.add(activitypub.helpers.isUri(options.input) ?
|
chain.add(activitypub.helpers.isUri(options.input) ?
|
||||||
parseString(uid, options.input) :
|
await parseString(uid, options.input) :
|
||||||
parseItem(uid, options.input));
|
await parseItem(uid, options.input));
|
||||||
}
|
}
|
||||||
|
|
||||||
return chain;
|
return chain;
|
||||||
|
|||||||
Reference in New Issue
Block a user