Skip to content

Instantly share code, notes, and snippets.

@arunoda
Created September 1, 2015 09:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save arunoda/1fc0eab0673e87cdc330 to your computer and use it in GitHub Desktop.
Save arunoda/1fc0eab0673e87cdc330 to your computer and use it in GitHub Desktop.
ServiceConfiguration.configurations.remove({
service: "meteor-developer"
});
if(Meteor.settings.meteorDevelopers) {
var meteorDevelopersInfo = Meteor.settings.meteorDevelopers;
} else {
var meteorDevelopersInfo = {
clientId: "HcempmSyaawiyb4G4",
secret: "snC3snsmTebC8HHCwwhqhHaAzAFxtFsQRL"
};
}
meteorDevelopersInfo = _.extend({
service: "meteor-developer"
}, meteorDevelopersInfo);
ServiceConfiguration.configurations.insert(meteorDevelopersInfo);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment