Skip to content
Snippets Groups Projects
Commit f71c0fc1 authored by Gabriel Engel's avatar Gabriel Engel
Browse files

rename updateServices -> oAuthServicesUpdate

parent 4063ed88
No related branches found
No related tags found
No related merge requests found
timer = undefined
updateServices = ->
oAuthServicesUpdate = ->
Meteor.clearTimeout timer if timer?
timer = Meteor.setTimeout ->
......@@ -51,12 +51,12 @@ updateServices = ->
RocketChat.models.Settings.find().observe
added: (record) ->
if /^Accounts_OAuth_.+/.test record._id
updateServices()
oAuthServicesUpdate()
changed: (record) ->
if /^Accounts_OAuth_.+/.test record._id
updateServices()
oAuthServicesUpdate()
removed: (record) ->
if /^Accounts_OAuth_.+/.test record._id
updateServices()
oAuthServicesUpdate()
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