Skip to content

Commit

Permalink
Fixed custom-env-variables config structure.
Browse files Browse the repository at this point in the history
  • Loading branch information
igznicolasjaremek committed Sep 30, 2015
1 parent 09ccced commit 8083f98
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 11 deletions.
22 changes: 12 additions & 10 deletions config/custom-environment-variables.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
{
"mailer": {
"transport": {
"mailgun": {
"apiKey": "MAILGUN_APIKEY",
"domain": "MAILGUN_DOMAIN"
},
"gcm": {
"googleApiKey" : "GCM_API_KEY"
},
"apn": {
"pfx": "APN_PFX",
"passphrase": "APN_PASS_PHRASE"
},
"twilio": {
"account_sid": "TWILIO_ACCOUNT_SID",
"auth_token": "TWILIO_AUTH_TOKEN"
}
},
"googleApiKey" : "GCM_API_KEY",
"apn": {
"pfx": "APN_PFX",
"passphrase": "APN_PASS_PHRASE"
},
"twilio": {
"account_sid": "TWILIO_ACCOUNT_SID",
"auth_token": "TWILIO_AUTH_TOKEN"
}
}
2 changes: 1 addition & 1 deletion scripts/mock-all-transports.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ proxyquire('../lib/platforms/sms', {

proxyquire('../lib/platforms/push', {
'../transport/apn': {
pushNotification: function(apnDevices, alert, content, callback) {
pushNotification: function(apnConnection, apnDevices, alert, content, callback) {
log.warn('Faking APN call with params: ', apnDevices, alert, content);
callback();
}
Expand Down

0 comments on commit 8083f98

Please sign in to comment.