mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-02 20:16:04 +01:00
Merge branch 'master' into develop
This commit is contained in:
@@ -600,6 +600,7 @@ usersAPI.search = async function (caller, data) {
|
||||
throw new Error('[[error:no-privileges]]');
|
||||
}
|
||||
return await user.search({
|
||||
uid: caller.uid,
|
||||
query: data.query,
|
||||
searchBy: data.searchBy || 'username',
|
||||
page: data.page || 1,
|
||||
|
||||
Reference in New Issue
Block a user