mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-06-23 05:40:58 +02:00
fix: proper handling of actors.qualify response
This commit is contained in:
@@ -110,7 +110,7 @@ Actors.assert = async (ids, options = {}) => {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
ids = await Actors.qualify(ids, options);
|
ids = await Actors.qualify(ids, options);
|
||||||
if (!ids) {
|
if (!ids || !ids.length) {
|
||||||
return ids;
|
return ids;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user