Send missing properties for S3 backup providers
This commit is contained in:
@@ -80,6 +80,10 @@ async function onSubmit() {
|
||||
|
||||
if (s3like(data.provider)) {
|
||||
data.endpoint = endpoint.value;
|
||||
data.prefix = prefix.value;
|
||||
data.bucket = bucket.value;
|
||||
data.accessKeyId = accessKeyId.value;
|
||||
data.secretAccessKey = secretAccessKey.value;
|
||||
|
||||
if (data.provider === 's3') {
|
||||
data.region = region.value || undefined;
|
||||
|
||||
Reference in New Issue
Block a user