From 62e5685ac8503ed1457b1dbdf89360827ac75af8 Mon Sep 17 00:00:00 2001 From: Diego Mello Date: Mon, 16 Mar 2020 16:45:37 -0300 Subject: [PATCH] [FIX] Attempting to get APN info incorrectly --- lib/server/push.api.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/server/push.api.js b/lib/server/push.api.js index 12064fe..ec1dcf4 100644 --- a/lib/server/push.api.js +++ b/lib/server/push.api.js @@ -245,9 +245,9 @@ Push.Configure = function(options) { // Time in SECONDS 'interval': 5, production: !options.apn.development, - cert: options.certData, - key: options.keyData, - passphrase: options.passphrase + cert: options.apn.certData, + key: options.apn.keyData, + passphrase: options.apn.passphrase }; var feedback = new apn.Feedback(feedbackOptions);