diff options
| -rw-r--r-- | db.json | 2 | ||||
| -rw-r--r-- | lib/okpush/apn.js | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -2084,7 +2084,7 @@ "StoreClosedMessageOne": "", "StoreClosedMessageTwo": "", "FittingCodes": "", - "DepartmentStoreStatus": "closed", + "DepartmentStoreStatus": "open", "Departments": [ { "text": "STONE ISLAND MARINA_TANK SHIELD", diff --git a/lib/okpush/apn.js b/lib/okpush/apn.js index 02f45fcc..315effd3 100644 --- a/lib/okpush/apn.js +++ b/lib/okpush/apn.js @@ -4,7 +4,7 @@ var db = require('./db') var apnProvider, apnFeedback function init (data) { - var apn_config = data.production ? config.apn_production : config.apn_development + var apn_config = data.production ? data.apn_production : data.apn_development config = {} config.key = apn_config.key config.cert = apn_config.cert |
