Skip to content
Snippets Groups Projects
Commit 40780492 authored by Aaron Ogle's avatar Aaron Ogle
Browse files

removed un-needed logs

parent faed8b94
No related branches found
No related tags found
No related merge requests found
......@@ -21,7 +21,6 @@ updateServices = ->
clientId: RocketChat.models.Settings.findOneById("#{service._id}_id")?.value
secret: RocketChat.models.Settings.findOneById("#{service._id}_secret")?.value
console.log serviceName
if /Accounts_OAuth_Custom_/.test service._id
data.custom = true
......@@ -45,7 +44,6 @@ updateServices = ->
if serviceName is 'Twitter'
data.consumerKey = data.clientId
delete data.clientId
console.log data
ServiceConfiguration.configurations.upsert {service: serviceName.toLowerCase()}, $set: data
else
ServiceConfiguration.configurations.remove {service: serviceName.toLowerCase()}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment