Custom field input should be a bool in json, not string
This commit is contained in:
parent
3c9a987bbe
commit
5538da535c
2
main.cpp
2
main.cpp
@ -187,7 +187,7 @@ std::string getCustomKeysJson( size_t library_id ) {
|
|||||||
res << " {\n";
|
res << " {\n";
|
||||||
res << " \"name\": \"" << safeJson( key["name"] ) << "\",\n";
|
res << " \"name\": \"" << safeJson( key["name"] ) << "\",\n";
|
||||||
res << " \"type\": \"" << safeJson( key["type"] ) << "\",\n";
|
res << " \"type\": \"" << safeJson( key["type"] ) << "\",\n";
|
||||||
res << " \"input\": \"" << safeJson( key["input"] ) << "\"\n";
|
res << " \"input\": " << safeJson( key["input"] ) << "\n";
|
||||||
res << " },\n";
|
res << " },\n";
|
||||||
}
|
}
|
||||||
res.seekp( -2, std::ios_base::end );
|
res.seekp( -2, std::ios_base::end );
|
||||||
|
Loading…
Reference in New Issue
Block a user