Custom field input should be a bool in json, not string

This commit is contained in:
zv0n 2022-03-12 15:05:34 +01:00
parent 3c9a987bbe
commit 5538da535c

View File

@ -187,7 +187,7 @@ std::string getCustomKeysJson( size_t library_id ) {
res << " {\n";
res << " \"name\": \"" << safeJson( key["name"] ) << "\",\n";
res << " \"type\": \"" << safeJson( key["type"] ) << "\",\n";
res << " \"input\": \"" << safeJson( key["input"] ) << "\"\n";
res << " \"input\": " << safeJson( key["input"] ) << "\n";
res << " },\n";
}
res.seekp( -2, std::ios_base::end );