Skip to content

Commit

Permalink
fix: Add standard validator for format types
Browse files Browse the repository at this point in the history
  • Loading branch information
ksentak committed Oct 3, 2024
1 parent ca09400 commit 04df24f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion languages/cpp/src/shared/include/json_engine.h
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ class JsonEngine
EXPECT_EQ(requestParams, "{}"_json);
}
else {
json_validator validator;
json_validator validator(nullptr, nlohmann::json_schema::default_string_format_check);
const json openRPCParams = method["params"];
for (auto& item : openRPCParams.items()) {
std::string key = item.key();
Expand Down

0 comments on commit 04df24f

Please sign in to comment.