SES-116 backend fix
This commit is contained in:
parent
a7aaacb2e5
commit
329ac81ed2
@ -72,12 +72,6 @@ namespace SessionCompanion.Controllers
|
||||
public async Task<Either<List<CharacterBasicStatsViewModel>, ErrorResponse>> GetLoggedUsersCharacters()
|
||||
{
|
||||
var connectedCharacters = _sessionHubData.ConnectedCharacters_Prop;
|
||||
if (_sessionHubData.ConnectedCharacters_Prop.Count() == 0)
|
||||
{
|
||||
connectedCharacters.Add("a", 1);
|
||||
connectedCharacters.Add("s", 2);
|
||||
connectedCharacters.Add("d", 3);
|
||||
}
|
||||
var characters = await _service.GetBasicCharactersData(connectedCharacters.Values.ToList());
|
||||
|
||||
return characters.ToList();
|
||||
|
Loading…
Reference in New Issue
Block a user