Skip to content

Commit b80cee3

Browse files
committedDec 15, 2018
Merge fixes
1 parent cb52a01 commit b80cee3

File tree

5 files changed

+4
-3
lines changed

5 files changed

+4
-3
lines changed
 

‎api/parts/mgmt/apps.js

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ var appsApi = {},
1111
crypto = require('crypto'),
1212
plugins = require('../../../plugins/pluginManager.js'),
1313
jimp = require('jimp'),
14+
fs = require('fs'),
1415
countlyFs = require('./../../utils/countlyFs.js');
1516

1617
/**

‎frontend/express/app.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1553,7 +1553,7 @@ app.post(countlyConfig.path + '/user/settings', function(req, res, next) {
15531553
if (err || !member) {
15541554
return res.send(false);
15551555
}
1556-
countlyDb.collection('members').findOne({username: req.body.username}, function(err2, user) {
1556+
countlyDb.collection('members').findOne({username: req.body.username}, async function(err2, user) {
15571557
if (err) {
15581558
return res.send(false);
15591559
}

‎frontend/express/public/javascripts/countly/countly.total.users.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* global countlyCommon, countlyDevice, _, jQuery */
1+
/* global countlyCommon, countlyGlobal, countlyDevice, _, jQuery */
22
(function(countlyTotalUsers, $) {
33

44
//Private Properties

‎plugins/reports/frontend/public/javascripts/countly.models.js

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/*global
22
countlyCommon,
3+
countlyGlobal,
34
jQuery
45
*/
56
(function(countlyReporting, $) {

‎plugins/views/frontend/public/javascripts/countly.models.js

-1
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,6 @@
319319
type: "POST",
320320
url: countlyCommon.API_PARTS.data.w + '/delete_view',
321321
data: {
322-
"api_key": countlyGlobal.member.api_key,
323322
"app_id": countlyCommon.ACTIVE_APP_ID,
324323
"method": "delete_view",
325324
"view_url": view

0 commit comments

Comments
 (0)
Please sign in to comment.