|
|
@ -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);
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|