Unfixed previous fix

This commit is contained in:
2023-03-02 14:42:26 +01:00
parent 614b80b1ac
commit 55a12a4f29

View File

@@ -255,7 +255,7 @@ async function fetchUUIDCheck(givenUUID , strategy){
switch(strategy){
case "new":{
await fetch(url + "{givenUUID}/", { method : "GET" })
await fetch(url + givenUUID+ "/", { method : "GET" })
.then ( response => response.text() )
.then ( data => {
newUUID = data;
@@ -264,7 +264,7 @@ async function fetchUUIDCheck(givenUUID , strategy){
break;
}
case "restore":{
await fetch(url + "{givenUUID}" + "/" + "{clientUUID}/" , { method: "GET" })
await fetch(url + givenUUID + "/" + clientUUID + "/" , { method: "GET" })
.then (response => response.text() )
.then (data => {
newUUID = data;