fix offline listening

This commit is contained in:
creeper123123321 2021-04-10 14:46:32 -03:00 committed by GitHub
parent d1e73a0945
commit 2847b74a2d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,7 +30,7 @@ class WebLogin : WebState {
val token = webClient.server.generateToken(uuid)
webClient.ws.send(JsonObject().also {
it.addProperty("login_result", true)
it.addProperty("action", "login_result")
it.addProperty("success", true)
it.addProperty("username", username)
it.addProperty("uuid", uuid.toString())