更新 Speed/updateBuild.ts
This commit is contained in:
parent
0bd1398085
commit
8aab3ff282
@ -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,
|
||||
})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user