removed console.log use getUsersData

v1.18.x
Barış Soner Uşaklı 10 years ago
parent 0563bb5923
commit 1e7da1fc82

@ -9,7 +9,7 @@ Groups.create = function(socket, data, callback) {
} }
groups.create({ groups.create({
name: data.name, name: data.name,
description: data.description, description: data.description,
ownerUid: socket.uid ownerUid: socket.uid
}, callback); }, callback);
@ -18,7 +18,8 @@ Groups.create = function(socket, data, callback) {
Groups.get = function(socket, groupName, callback) { Groups.get = function(socket, groupName, callback) {
groups.get(groupName, { groups.get(groupName, {
expand: true, expand: true,
unescape: true unescape: true,
uid: socket.uid
}, callback); }, callback);
}; };

Loading…
Cancel
Save