mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-17 03:01:08 +01:00
test: migrate socket.io groups tests to use api v3
This commit is contained in:
@@ -85,7 +85,7 @@ groupsAPI.listMembers = async (caller, data) => {
|
||||
const { query } = data;
|
||||
const after = parseInt(data.after || 0, 10);
|
||||
let response;
|
||||
if (query) {
|
||||
if (query && query.length) {
|
||||
response = await groups.searchMembers({
|
||||
uid: caller.uid,
|
||||
query,
|
||||
|
||||
Reference in New Issue
Block a user