mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-07 16:12:53 +01:00
removed console.log use getUsersData
This commit is contained in:
@@ -9,7 +9,7 @@ Groups.create = function(socket, data, callback) {
|
||||
}
|
||||
|
||||
groups.create({
|
||||
name: data.name,
|
||||
name: data.name,
|
||||
description: data.description,
|
||||
ownerUid: socket.uid
|
||||
}, callback);
|
||||
@@ -18,7 +18,8 @@ Groups.create = function(socket, data, callback) {
|
||||
Groups.get = function(socket, groupName, callback) {
|
||||
groups.get(groupName, {
|
||||
expand: true,
|
||||
unescape: true
|
||||
unescape: true,
|
||||
uid: socket.uid
|
||||
}, callback);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user