Skip to content

Commit 1c72a3b

Browse files
authored
fix (#322)
1 parent a1e6074 commit 1c72a3b

File tree

4 files changed

+15
-12
lines changed

4 files changed

+15
-12
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## 22.06.4
2+
- Fixed an issue with remote configs not working without a parameter
3+
14
## 22.06.3
25
- Fixed an issue that arose when sending crashes through a gateway. User agent information is now sent as part of the request.
36

lib/countly.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@
175175
*/
176176
Countly.onload = Countly.onload || [];
177177

178-
var SDK_VERSION = "22.06.3";
178+
var SDK_VERSION = "22.06.4";
179179
var SDK_NAME = "javascript_native_web";
180180

181181
var urlParseRE = /^(((([^:\/#\?]+:)?(?:(\/\/)((?:(([^:@\/#\?]+)(?:\:([^:@\/#\?]+))?)@)?(([^:\/#\?\]\[]+|\[[^\/\]@#?]+\])(?:\:([0-9]+))?))?)?)?((\/?(?:[^\/\?#]+\/+)*)([^\?#]*)))?(\?[^#]+)?)(#.*)?/;
@@ -1682,11 +1682,11 @@
16821682
method: "rc"
16831683
};
16841684
// check if keys were provided
1685-
if (keys.length > 0) {
1685+
if (keys) {
16861686
request.keys = JSON.stringify(keys);
16871687
}
16881688
// check if omit_keys were provided
1689-
if (omit_keys.length > 0) {
1689+
if (omit_keys) {
16901690
request.omit_keys = JSON.stringify(omit_keys);
16911691
}
16921692
var providedCall;

0 commit comments

Comments
 (0)