improved validators
parent
a5279547bc
commit
693e280fd8
|
|
@ -183,6 +183,17 @@ function uploadFileToS3(files, groupName, username) {
|
|||
document.querySelector("#aws_api_url > label > textarea")["value"]: "";
|
||||
const apiToken = document.querySelector("#aws_api_gateway_url_token > label > textarea")?
|
||||
document.querySelector("#aws_api_gateway_url_token > label > textarea")["value"]: "";
|
||||
|
||||
if (!apiGatewayUrl) {
|
||||
alert("Please load the API Gateway URL by click refresh button.");
|
||||
return;
|
||||
}
|
||||
|
||||
if (!apiToken) {
|
||||
alert("Please load the API Gateway Token by click refresh button.");
|
||||
return;
|
||||
}
|
||||
|
||||
const presignedUrls = [];
|
||||
const filenames = [];
|
||||
const fileArrays = [];
|
||||
|
|
|
|||
Loading…
Reference in New Issue