Skip to content

Commit

Permalink
fix(web): storage #setConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
joseivanlopez committed Dec 4, 2024
1 parent 466f75e commit c4461a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/api/storage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const fetchConfig = (): Promise<config.Config | undefined> =>
const fetchConfigModel = (): Promise<configModel.Config | undefined> =>
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);

Expand Down

0 comments on commit c4461a9

Please sign in to comment.