This commit is contained in:
parent
67186f0bd3
commit
cc7a7f70c0
|
@ -206,7 +206,11 @@ function updateUserInfo() {
|
|||
"Content-Type": "application/json; charset=UTF-8"
|
||||
}
|
||||
})
|
||||
.then((response) => response)
|
||||
.catch((error) => {
|
||||
noteBox.readOnly = true
|
||||
noteBox.value = ""
|
||||
noteBox.placeholder = "Failed to connect to the server.\nPlease check your internet connection."
|
||||
})
|
||||
.then((response) => {
|
||||
async function doStuff() {
|
||||
if (response.status == 500) {
|
||||
|
|
Loading…
Reference in New Issue