diff --git a/website/Pages/EventRegister.razor b/website/Pages/EventRegister.razor index 6dda914..2a0db67 100644 --- a/website/Pages/EventRegister.razor +++ b/website/Pages/EventRegister.razor @@ -119,7 +119,7 @@ Register @@ -235,7 +235,7 @@ { if (string.IsNullOrEmpty(_player.Name)) { - _errorMessage = "[Enter your name!]"; + _errorMessage = "[Enter your Nickname!]"; return; } @@ -243,11 +243,10 @@ var args = new Dictionary { - { "Name", _player.Name } + { "name", _player.Name } }; string urlWithQuery = UrlHelper.BuildUrlWithQuery(Constants.RestServiceEndpointPlayers, args); - var players = await _restClient.GetJsonAsync>(urlWithQuery); var filteredPlayers = players!.FindAll(p => p.Name!.Equals(_player.Name)); var existingPlayer = filteredPlayers.FirstOrDefault();