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 dotansimha committed Nov 27, 2016
1 parent f75dd60 commit 2721c94
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 2721c94

Please sign in to comment.