Commit 90756b9e authored by Mark Harding's avatar Mark Harding

(fix): indexOf null error when iterating over no blocked users

parent 50ef4b8a
No related merge requests found
Pipeline #77852598 running with stages
......@@ -61,7 +61,7 @@ export class EntitiesService {
}
for (const feedItem of feed) {
if (blockedGuids.indexOf(feedItem.owner_guid) < 0)
if (!blockedGuids || blockedGuids.indexOf(feedItem.owner_guid) < 0)
entities.push(this.entities.get(feedItem.urn));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment