Refactor endpoint services to accept narrow inputs
This commit is contained in:
@@ -18,7 +18,7 @@ public static class ResultsEndpoints
|
||||
if (player is null)
|
||||
return EndpointHelpers.UnauthorizedError();
|
||||
|
||||
return await service.GetResultsAsync(player);
|
||||
return await service.GetResultsAsync(player.Id);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user