From c4461a99bb64fcd0ab9765898542b0744d937aa8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Iv=C3=A1n=20L=C3=B3pez=20Gonz=C3=A1lez?= Date: Wed, 4 Dec 2024 17:49:35 +0000 Subject: [PATCH] fix(web): storage #setConfig --- web/src/api/storage.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/api/storage.ts b/web/src/api/storage.ts index c09ed8e9ee..2c8ebedd13 100644 --- a/web/src/api/storage.ts +++ b/web/src/api/storage.ts @@ -38,7 +38,7 @@ const fetchConfig = (): Promise => const fetchConfigModel = (): Promise => get("/api/storage/config_model"); -const setConfig = (config: config.Config) => put("/api/storage/config", config); +const setConfig = (config: config.Config) => put("/api/storage/config", { storage: config }); const setConfigModel = (model: configModel.Config) => put("/api/storage/config_model", model);