Skip to content

Commit 8880c61

Browse files
authored
Merge branch 'master' into dependabot/github_actions/actions-80bdc12dd6
2 parents 67c3b8c + addcfdc commit 8880c61

5 files changed

Lines changed: 39 additions & 192 deletions

File tree

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11

22
## Version 25.03.x
33

4+
Dependencies:
5+
- Bump sass from 1.87.0 to 1.88.0
6+
47
## Version 25.03.5
58
Fixes:
69
- [core] Changes for event omit script to validate data in new model and use countly-request.

api/utils/countly-request/package-lock.json

Lines changed: 27 additions & 186 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bin/scripts/license_installer.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,10 @@ pluginManager.dbConnection(DB).then(async(countlyDb) => {
5858
try {
5959
let apiDomain = (await countlyDb.collection('plugins').findOne({ _id: 'plugins' }, { _id: 0, 'api.domain': 1 })).api.domain.split('//')[1];
6060
apiDomain = apiDomain.replace(/(^\w+:|^)\/\//, '').replace(/\/$/, '');
61-
let { body } = await httpRequest(`https://stats.count.ly/o/license-generator/list?app_id=633b1796ff6957bdc9360aef&iDisplayStart=0&iDisplayLength=1&iSortCol_0=3&sSortDir_0=desc&query={"domain":{"$regex":"${apiDomain}"}}`, { method: 'POST' }, { auth_token: auth_token });
61+
if (apiDomain.indexOf("www.") === 0) {
62+
apiDomain = apiDomain.substring(4);
63+
}
64+
let { body } = await httpRequest(`https://stats.count.ly/o/license-generator/list?app_id=633b1796ff6957bdc9360aef&iDisplayStart=0&iDisplayLength=1&iSortCol_0=3&sSortDir_0=desc&query={"domain":{"$regex":"^${apiDomain}"}}`, { method: 'POST' }, { auth_token: auth_token });
6265
body = JSON.parse(body);
6366
let licenseId = '';
6467
if (body?.aaData?.length) {

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
"offline-geocoder": "git+https://github.com/Countly/offline-geocoder.git",
9393
"properties-parser": "0.6.0",
9494
"puppeteer": "^24.6.1",
95-
"sass": "1.87.0",
95+
"sass": "1.88.0",
9696
"semver": "^7.7.1",
9797
"sqlite3": "^5.1.7",
9898
"tslib": "^2.6.3",

0 commit comments

Comments
 (0)