We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5c993fe commit 60e1452Copy full SHA for 60e1452
app/livechat/server/methods/saveInfo.js
@@ -29,7 +29,7 @@ Meteor.methods({
29
livechatData: Match.Optional(Object),
30
}));
31
32
- const room = LivechatRooms.findOneById(roomData._id, { t: 1, servedBy: 1 });
+ const room = LivechatRooms.findOneById(roomData._id);
33
if (room == null || room.t !== 'l') {
34
throw new Meteor.Error('error-invalid-room', 'Invalid room', { method: 'livechat:saveInfo' });
35
}
0 commit comments