|
|
@ -120,13 +120,17 @@
|
|
|
|
'Accept': 'application/json',
|
|
|
|
'Accept': 'application/json',
|
|
|
|
'Content-Type': 'application/json'
|
|
|
|
'Content-Type': 'application/json'
|
|
|
|
},
|
|
|
|
},
|
|
|
|
body: JSON.stringify(document.getElementById("manualLink").value)
|
|
|
|
body: JSON.stringify({
|
|
|
|
|
|
|
|
link: document.getElementById("manualLink").value,
|
|
|
|
|
|
|
|
token: user.getAuthResponse().id_token
|
|
|
|
|
|
|
|
})
|
|
|
|
}).then(data => console.log(data));
|
|
|
|
}).then(data => console.log(data));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
function testReset() {
|
|
|
|
function testReset() {
|
|
|
|
fetch(document.getElementById("server").value+"/thrimshim/reset/"+document.getElementById("rowId").value, {
|
|
|
|
fetch(document.getElementById("server").value+"/thrimshim/reset/"+document.getElementById("rowId").value, {
|
|
|
|
method: 'POST'
|
|
|
|
method: 'POST',
|
|
|
|
|
|
|
|
body: JSON.stringify({token: user.getAuthResponse().id_token})
|
|
|
|
}).then(data => console.log(data));
|
|
|
|
}).then(data => console.log(data));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
</script>
|
|
|
|