File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -203,6 +203,7 @@ Appboy.prototype.initializeV2 = function(customEndpoint) {
203203 openNewsFeedCardsInNewTab : options . openNewsFeedCardsInNewTab ,
204204 requireExplicitInAppMessageDismissal :
205205 options . requireExplicitInAppMessageDismissal ,
206+ serviceWorkerLocation : options . serviceWorkerLocation ,
206207 sessionTimeoutInSeconds : Number ( options . sessionTimeoutInSeconds ) || 30
207208 } ;
208209
@@ -322,10 +323,7 @@ Appboy.prototype.identify = function(identify) {
322323 // Remove nested hash objects as Braze only supports nested array objects in identify calls
323324 // https://segment.com/docs/destinations/braze/#identify
324325 each ( function ( value , key ) {
325- if (
326- typeof value === 'object' &&
327- Array . isArray ( value )
328- ) {
326+ if ( typeof value === 'object' && Array . isArray ( value ) ) {
329327 delete traits [ key ] ;
330328 }
331329 } , traits ) ;
You can’t perform that action at this time.
0 commit comments