Browse Source

Fix mistake

master
Skylar Ittner 3 months ago
parent
commit
60a344e7c9
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      api/actions/changenick.php

+ 1
- 1
api/actions/changenick.php View File

@@ -14,4 +14,4 @@ if ($database->has("players", ["AND" => ["nickname" => $nick, "accountid[!]" =>

$database->update("players", ["nickname" => $nick], ["accountid" => getRequestUser()->getUID()]);

sendJsonResp(["name" => $nick]);
exitWithJson(["status" => "OK", "name" => $nick]);

Loading…
Cancel
Save