File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,8 @@ const extractExpiry = R.cond([
3030const getPropValueOrUndefinedIfIsSilent = ( propName , data ) => {
3131 if ( data . silent ) {
3232 return undefined ;
33- } else return data [ propName ] ;
33+ }
34+ return data [ propName ] ;
3435} ;
3536
3637const toJSONorUndefined = R . when (
@@ -141,7 +142,6 @@ const buildGcmMessage = (data, options) => {
141142} ;
142143
143144const buildApnsMessage = ( data ) => {
144- console . log ( 'data' , data ) ;
145145 const message = new ApnsMessage ( {
146146 retryLimit : data . retries || - 1 ,
147147 expiry : extractExpiry ( data ) ,
@@ -165,7 +165,6 @@ const buildApnsMessage = (data) => {
165165 threadId : data . threadId ,
166166 pushType : data . pushType ,
167167 } ) ;
168- console . log ( 'message' , message ) ;
169168
170169 if ( data . rawPayload ) {
171170 message . rawPayload = data . rawPayload ;
You can’t perform that action at this time.
0 commit comments