From 3e193a8aa3be76c3f3374eaa8d749baace69973d Mon Sep 17 00:00:00 2001
From: Raymond Feng <raymond@strongloop.com>
Date: Thu, 28 Nov 2013 08:08:46 -0800
Subject: [PATCH] Add default values

---
 lib/models/application.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/models/application.js b/lib/models/application.js
index 8e71fe5f..4553a44f 100644
--- a/lib/models/application.js
+++ b/lib/models/application.js
@@ -9,13 +9,13 @@ var AuthenticationSchemeSchema = {
 
 var APNSSettingSchema = {
     pushOptions: {type: {
-        gateway: String,
+        gateway: {type: String, default: 'gateway.sandbox.push.apple.com'},
         cert: String,
         key: String
     }},
 
     feedbackOptions: {type: {
-        gateway: String,
+        gateway: {type: String, default: 'feedback.sandbox.push.apple.com'},
         cert: String,
         key: String,
         batchFeedback: Boolean,