diff --git a/public/scripts/textgen-settings.js b/public/scripts/textgen-settings.js index 4d7fe4007..11d2221cd 100644 --- a/public/scripts/textgen-settings.js +++ b/public/scripts/textgen-settings.js @@ -569,7 +569,7 @@ jQuery(function () { // Ignore errors from here try { - settings.json_schema = JSON.parse(json_schema_string ?? "{}"); + settings.json_schema = JSON.parse(json_schema_string ?? '{}'); } catch {} saveSettingsDebounced(); });