Skip to content

Commit

Permalink
Step 5.5: Define SMS settings
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilkisiela authored and DAB0mB committed Dec 16, 2016
1 parent 95ec1c5 commit aa207ee
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions server/imports/api/sms.ts
@@ -0,0 +1,8 @@
import { Meteor } from 'meteor/meteor';
import { Accounts } from 'meteor/accounts-base';


if (Meteor.settings) {
Object.assign(Accounts._options, Meteor.settings['accounts-phone']);
SMS.twilio = Meteor.settings['twilio'];
}

0 comments on commit aa207ee

Please sign in to comment.