Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
dsTw5 authored Oct 17, 2023
1 parent b7c2d71 commit c428b26
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions listNumbers/assets/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,9 @@ <h2>List Active numbers on your main accounts or subaccount</h2>
>Function</a
>
- open the Function and click on "Environment Variables" in the bottom
left corner, and change the value of Password. <br />The default
Password is <i><b>1</b></i
>.
left corner, and change the value of Password. Click <b>"Deploy All"</b> afterwards in the bottom left corner.
<br />
The default Password is <i><b>1</b></i>.
</p>
Password:<input id="password" type="password" name="password" />
<br />
Expand Down Expand Up @@ -352,14 +352,15 @@ <h2>List Active numbers on your main accounts or subaccount</h2>
let response = null;
let json = null;
let numNumbers = null;
let k=0;

const subaccount = document.getElementById("sAccount").value;
const password = document.getElementById("password").value;
const pagination = document.getElementById("pagination").value;
const pageSize = document.getElementById("page_size").value;

try {
info.innerHTML = `loading...`;
info.innerHTML = `loading...checked 0 numbers`;

console.log(pagination);

Expand All @@ -382,7 +383,6 @@ <h2>List Active numbers on your main accounts or subaccount</h2>
};
}

console.log(data);
response = await fetch("./list_numbers", {
method: "POST",
headers: {
Expand Down Expand Up @@ -620,6 +620,7 @@ <h2>List Active numbers on your main accounts or subaccount</h2>
if (document.getElementById("emergencyAddressSid").checked) {
allNumbers = allNumbers + json[i].emergencyAddressSid + ";";
}
info.innerHTML = `loading...processed ${++k} numbers`;
} //for closed
} //if status 200 closed
else {
Expand Down

0 comments on commit c428b26

Please sign in to comment.