Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit df10fbe

Browse files
陈玉国陈玉国
authored andcommitted
Release 0.0.3
1 parent 51807a9 commit df10fbe

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

include/sensors_abtesting_sdk.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
#include "sensors_json.hpp"
2525
#include "sensors_analytics_sdk.h"
2626

27-
#define ABTESTING_SDK_VERSION "0.0.2"
27+
#define ABTESTING_SDK_VERSION "0.0.3"
2828
#define ABTESTING_SDK_NAME "Sensors A/B Testing CPP SDK"
2929
#define ABTESTING_SDK_FULL_NAME ABTESTING_SDK_NAME " " ABTESTING_SDK_VERSION
3030

src/sensors_abtesting_sdk.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ void DefaultConsumer::UpdateExperiments(const string &original_data, bool is_req
382382
LogError("Exception when Update Experiments : " + (string)err.what());
383383
}
384384

385-
if (object.is_null()) {
385+
if (object.is_null() || !object.is_object()) {
386386
return;
387387
}
388388

0 commit comments

Comments
 (0)