chore: update system setting name convention (#1448)

This commit is contained in:
boojack
2023-04-03 09:36:34 +08:00
committed by GitHub
parent 8a33290722
commit 4f2adfef7b
10 changed files with 135 additions and 105 deletions

View File

@ -29,7 +29,7 @@ const StorageSection = () => {
const handleActiveStorageServiceChanged = async (storageId: StorageId) => {
await api.upsertSystemSetting({
name: "storageServiceId",
name: "storage-service-id",
value: JSON.stringify(storageId),
});
await globalStore.fetchSystemStatus();