Skip to content

Commit 4585157

Browse files
committed
Adapt UI client
1 parent 5337bd0 commit 4585157

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/src/api/api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ const fetchProposal = (): Promise<Proposal> => get("/api/v2/proposal");
3737
/**
3838
* Updates configuration
3939
*/
40-
const updateConfig = (config) => patch("/api/v2/config", config);
40+
const updateConfig = (config) => patch("/api/v2/config", { update: config });
4141
/**
4242
* Triggers an action
4343
*/

0 commit comments

Comments
 (0)