mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-05 07:10:30 +01: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);
|
||||
if (!inCollection) {
|
||||
chain.add(activitypub.helpers.isUri(options.input) ?
|
||||
parseString(uid, options.input) :
|
||||
parseItem(uid, options.input));
|
||||
await parseString(uid, options.input) :
|
||||
await parseItem(uid, options.input));
|
||||
}
|
||||
|
||||
return chain;
|
||||
|
||||
Reference in New Issue
Block a user