Update ranking handling to store all entries and only return top for each user, update drone config to push to dockerhub
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2022-07-24 19:27:28 -04:00
parent 3f46369022
commit 2d57930701
4 changed files with 21 additions and 26 deletions

View File

@@ -58,12 +58,12 @@ namespace TOOHUCardAPI.Controllers
};
if (parsedRankType == RankType.All || parsedRankType == RankType.Single)
{
response.Body.FFAEntries = await _rankService.GetRankEntries(RankType.Single);
response.Body.FFAEntries = await _rankService.GetRankEntries(RankType.Single, true);
}
if (parsedRankType == RankType.Team || parsedRankType == RankType.All)
{
response.Body.TeamEntries = await _rankService.GetRankEntries(RankType.Team);
response.Body.TeamEntries = await _rankService.GetRankEntries(RankType.Team, true);
}
return Ok(response);
}