更新 Speed/updateBuild.ts

This commit is contained in:
2026-03-14 23:03:59 +08:00
parent 0bd1398085
commit 8aab3ff282
+3
View File
@@ -9,6 +9,7 @@ interface UpdateServerBuildParameters {
snapshotLimit: number | null
backupLimit: number | null
bandwidthLimit: number | null
rateLimit: number | null
bandwidthUsage: number
}
@@ -19,6 +20,7 @@ const updateBuild = async (
snapshotLimit,
backupLimit,
bandwidthLimit,
rateLimit,
bandwidthUsage,
...params
}: UpdateServerBuildParameters
@@ -30,6 +32,7 @@ const updateBuild = async (
snapshot_limit: snapshotLimit,
backup_limit: backupLimit,
bandwidth_limit: bandwidthLimit,
rate_limit: rateLimit,
bandwidth_usage: bandwidthUsage,
...params,
})