File tree 1 file changed +2
-1
lines changed
1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ var reportsInstance = {},
12
12
countlyCommon = require ( '../../../api/lib/countly.common.js' ) ,
13
13
localize = require ( '../../../api/utils/localization.js' ) ,
14
14
common = require ( '../../../api/utils/common.js' ) ,
15
+ log = require ( '../../../api/utils/log' ) ( 'reports:reports' ) ,
15
16
versionInfo = require ( '../../../frontend/express/version.info' ) ;
16
17
17
18
versionInfo . page = ( ! versionInfo . title ) ? "https://count.ly" : null ;
@@ -87,7 +88,7 @@ var metrics = {
87
88
88
89
db . collection ( 'members' ) . findOne ( { global_admin : true } , function ( err2 , globalAdmin ) {
89
90
if ( ! err2 && globalAdmin ) {
90
- console . log ( "Report user not found. Updating it to the global admin - " , JSON . stringify ( globalAdmin ) ) ;
91
+ log . d ( "Report user not found. Updating it to the global admin." ) ;
91
92
report . user = globalAdmin . _id ;
92
93
return cb ( null , globalAdmin ) ;
93
94
}
You can’t perform that action at this time.
0 commit comments