Typo
This commit is contained in:
@@ -113,15 +113,15 @@
|
||||
|
||||
<script>
|
||||
const params = new URLSearchParams(window.location.search);
|
||||
const uuid = params.get("UUID");
|
||||
const uuid = params.get("uuid");
|
||||
|
||||
const webhookBase = "https://002-001-5dd6e535-4d1c-46bc-9bd9-42ad4bc5f082.odoo4projects.com/webhook/0c8536be-d175-4740-8e78-123159193b23";
|
||||
const webhookGet = `/get-data?UUID=${uuid}`;
|
||||
const webhookGet = `/get-data?uuid=${uuid}`;
|
||||
const webhookPost = `${webhookBase}/submit-data`;
|
||||
|
||||
async function loadData() {
|
||||
if (!uuid) {
|
||||
alert("Missing UUID parameter in URL");
|
||||
alert("Missing uuid parameter in URL");
|
||||
return;
|
||||
}
|
||||
try {
|
||||
@@ -196,7 +196,7 @@ function calculateCost() {
|
||||
document.getElementById("upgradeForm").addEventListener("submit", async (e) => {
|
||||
e.preventDefault();
|
||||
const payload = {
|
||||
UUID: uuid,
|
||||
uuid: uuid,
|
||||
git: document.getElementById("git").checked,
|
||||
domains: parseInt(document.getElementById("domains").value),
|
||||
backupSlots: parseInt(document.getElementById("backupSlots").value),
|
||||
|
||||
Reference in New Issue
Block a user