From 5538da535c9fd95e81271f7d1c83c5520ecd65fc Mon Sep 17 00:00:00 2001 From: zv0n Date: Sat, 12 Mar 2022 15:05:34 +0100 Subject: [PATCH] Custom field input should be a bool in json, not string --- main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.cpp b/main.cpp index 15340cc..effa139 100644 --- a/main.cpp +++ b/main.cpp @@ -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 );