更新 Speed/updateBuild.ts

This commit is contained in:
ste87 2026-03-14 23:03:59 +08:00
parent 0bd1398085
commit 8aab3ff282

View File

@ -9,6 +9,7 @@ interface UpdateServerBuildParameters {
snapshotLimit: number | null snapshotLimit: number | null
backupLimit: number | null backupLimit: number | null
bandwidthLimit: number | null bandwidthLimit: number | null
rateLimit: number | null
bandwidthUsage: number bandwidthUsage: number
} }
@ -19,6 +20,7 @@ const updateBuild = async (
snapshotLimit, snapshotLimit,
backupLimit, backupLimit,
bandwidthLimit, bandwidthLimit,
rateLimit,
bandwidthUsage, bandwidthUsage,
...params ...params
}: UpdateServerBuildParameters }: UpdateServerBuildParameters
@ -30,6 +32,7 @@ const updateBuild = async (
snapshot_limit: snapshotLimit, snapshot_limit: snapshotLimit,
backup_limit: backupLimit, backup_limit: backupLimit,
bandwidth_limit: bandwidthLimit, bandwidth_limit: bandwidthLimit,
rate_limit: rateLimit,
bandwidth_usage: bandwidthUsage, bandwidth_usage: bandwidthUsage,
...params, ...params,
}) })