Incomplete websocket implementation
This commit is contained in:
@ -50,8 +50,7 @@ async function performGetPublicTablesRequest(token) {
|
||||
return fetch("/tables/public", { method: 'POST', body: token })
|
||||
.then(convertServerResponse)
|
||||
.then(function(text) {
|
||||
const decoded = atob(text)
|
||||
return JSON.parse(decoded);
|
||||
return JSON.parse(text);
|
||||
})
|
||||
}
|
||||
|
||||
@ -78,4 +77,4 @@ function convertServerResponse(response) {
|
||||
default:
|
||||
throw Error("Unexpected response: " + response.statusText)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user