We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Livechat instead of livechat in Rocket.Chat/packages/rocketchat-livechat/server/methods/removeDepartment.js
`Meteor.methods({ 'livechat:removeDepartment'(_id) { if (!Meteor.userId() || !RocketChat.authz.hasPermission(Meteor.userId(), 'view-livechat-manager')) { throw new Meteor.Error('error-not-allowed', 'Not allowed', { method: 'livechat:removeDepartment' }); }
//return RocketChat.livechat.removeDepartment(_id); return RocketChat.Livechat.removeDepartment(_id); }
});`
The text was updated successfully, but these errors were encountered:
Sorry, running short on time, couldn't do a pr, reporting issue before i forget this !!!!!!
Sorry, something went wrong.
Fix Livechat Remove Department
ce66bd2
Closes #4720 Thanks to @deep0982
Successfully merging a pull request may close this issue.
Livechat instead of livechat in
Rocket.Chat/packages/rocketchat-livechat/server/methods/removeDepartment.js
`Meteor.methods({
'livechat:removeDepartment'(_id) {
if (!Meteor.userId() || !RocketChat.authz.hasPermission(Meteor.userId(), 'view-livechat-manager')) {
throw new Meteor.Error('error-not-allowed', 'Not allowed', { method: 'livechat:removeDepartment' });
}
});`
The text was updated successfully, but these errors were encountered: