@@ -518,7 +518,7 @@ const projectServiceUtils = {
518
518
Authorization : `Bearer ${ token } ` ,
519
519
} ,
520
520
} ) . then ( ( res ) => {
521
- console . log ( JSON . stringify ( res ) ) ;
521
+ console . info ( res ) ;
522
522
return _ . get ( res , 'data' , null ) ;
523
523
} ) ;
524
524
} catch ( err ) {
@@ -546,7 +546,7 @@ const projectServiceUtils = {
546
546
Authorization : `Bearer ${ token } ` ,
547
547
} ,
548
548
} ) . then ( ( res ) => {
549
- console . log ( JSON . stringify ( res ) ) ;
549
+ console . info ( res ) ;
550
550
return _ . get ( res , 'data' , null ) ;
551
551
} ) ;
552
552
} catch ( err ) {
@@ -718,7 +718,7 @@ const projectServiceUtils = {
718
718
if ( _ . intersection ( fields , _ . union ( memberDetailFields , memberTraitFields ) ) . length > 0 ) {
719
719
const userIds = _ . reject ( _ . map ( members , 'userId' ) , _ . isNil ) ; // some invites may have no `userId`
720
720
allMemberDetails = await util . getMemberDetailsByUserIds ( userIds , req . log , req . id ) ;
721
- console . info ( JSON . stringify ( allMemberDetails ) ) ;
721
+ console . info ( allMemberDetails ) ;
722
722
723
723
if ( _ . intersection ( fields , memberTraitFields ) . length > 0 ) {
724
724
const promises = _ . map (
@@ -729,7 +729,7 @@ const projectServiceUtils = {
729
729
} ) ,
730
730
) ;
731
731
const traits = await Promise . all ( promises ) ;
732
- console . info ( JSON . stringify ( traits ) ) ;
732
+ console . info ( traits ) ;
733
733
_ . each ( traits , ( memberTraits ) => {
734
734
// if we didn't manage to get traits for the user, skip it
735
735
if ( ! memberTraits ) return ;
0 commit comments