merged origin/release/0.12

This commit is contained in:
dswbx
2025-04-11 13:10:25 +02:00
79 changed files with 177 additions and 544 deletions
+1 -2
View File
@@ -100,7 +100,7 @@ export class SystemController extends Controller {
try {
return c.json(await cb(), { status: 202 });
} catch (e) {
console.error(e);
$console.error("config update error", e);
if (e instanceof TypeInvalidError) {
return c.json(
@@ -161,7 +161,6 @@ export class SystemController extends Controller {
if (this.app.modules.get(module).schema().has(path)) {
return c.json({ success: false, path, error: "Path already exists" }, { status: 400 });
}
console.log("-- add", module, path, value);
return await handleConfigUpdateResponse(c, async () => {
await this.app.mutateConfig(module).patch(path, value);