diff options
Diffstat (limited to 'pkg')
-rw-r--r-- | pkg/api/api0/client.go | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/pkg/api/api0/client.go b/pkg/api/api0/client.go index 5a8aaf6..a135052 100644 --- a/pkg/api/api0/client.go +++ b/pkg/api/api0/client.go @@ -342,14 +342,6 @@ func (h *Handler) handleClientAuthWithSelf(w http.ResponseWriter, r *http.Reques } playerToken := r.URL.Query().Get("playerToken") - if playerToken == "" { - respJSON(w, r, http.StatusBadRequest, map[string]any{ - "success": false, - "error": ErrorCode_BAD_REQUEST, - "msg": ErrorCode_BAD_REQUEST.Messagef("playerToken param is required"), - }) - return - } acct, err := h.AccountStorage.GetAccount(uid) if err != nil { |