UUID switching, and add new message button fix #96

Merged
bema merged 12 commits from widlam/feature/issue#76 into master 2023-03-06 11:54:42 +01:00
Showing only changes of commit 55a12a4f29 - Show all commits

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;