diff --git a/assets/js/mcw/pt.js b/assets/js/mcw/pt.js index 0c9796d..af8df08 100644 --- a/assets/js/mcw/pt.js +++ b/assets/js/mcw/pt.js @@ -1,11 +1,11 @@ async function postPlain() { - const link = document.getElementById("cliplink").value + const link = document.getElementById("cliplinkpt").value console.log('Link:', link) - const webhook = document.getElementById("webhookURL").value + const webhook = document.getElementById("webhookURLpt").value console.log('Webhook:', webhook) - const caption = document.getElementById("caption").value + const caption = document.getElementById("captionpt").value console.log('Caption:', caption) - const username = document.getElementById("medalUsername").value + const username = document.getElementById("medalUsernamept").value console.log('Username:', username) const { response } = await fetch(`https://mcwapi.herokuapp.com/clip-check-pt?clipLink=${link}&webhookURL=${webhook}&medalUsername=${username}&caption=${caption}`).then(response => response.json()); diff --git a/mcw.html b/mcw.html index 4381bdd..e7c68be 100644 --- a/mcw.html +++ b/mcw.html @@ -88,20 +88,20 @@