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
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user