mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-02 22:00:34 +01: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);
|
||||
if (!ids) {
|
||||
if (!ids || !ids.length) {
|
||||
return ids;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user