-
Notifications
You must be signed in to change notification settings - Fork 11.3k
New issue
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
converted meteor-accounts-saml coffee to js #6450
Conversation
const serviceName = 'saml'; | ||
|
||
const configureSamlService = function(samlConfigs) { | ||
let privateCert = false, privateKey = false; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do not declare multiple variables at the same line
|
||
Meteor.methods({ | ||
addSamlService(name) { | ||
RocketChat.settings.add('SAML_Custom_' + name, false, { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we use string interpolation instead of concatenation?
}); | ||
|
||
export { | ||
updateServices, configureSamlService, getSamlConfigs, debounce, logger |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IMHO use one var per line is better to read
e822d71
to
9cf8bd2
Compare
9cf8bd2
to
37c7028
Compare
@rodrigok done |
@RocketChat/core