Panel fix

This commit is contained in:
cpq committed 2026-04-20 10:55:18 +01:00
1 parent 8030f8f8b5
commit 5163d8a1c7
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -112,7 +112,7 @@ static inline bool mg_parse_field(struct mg_str json, struct mg_field *f,
} else if (f->type == MG_VAL_DBL) {
ok = mg_json_get_num(json, "$", &val->d);
} else if (f->type == MG_VAL_STR) {
val->s = trimq(json);
val->s = json;
} else if (f->type == MG_VAL_FN) {
val->s = json;
}