Add dashboard performance trends
This commit is contained in:
@@ -187,7 +187,7 @@ public class QuestionsController : ControllerBase
|
||||
record.Attempt.IsCorrect,
|
||||
shouldRate);
|
||||
if (shouldRate)
|
||||
await _attempts.MarkRatingAppliedAsync(record.Attempt.Id ?? "", ratingOwner);
|
||||
await _attempts.MarkRatingAppliedAsync(record.Attempt.Id ?? "", ratingOwner, rating.UserOverallElo);
|
||||
}
|
||||
catch
|
||||
{
|
||||
@@ -286,7 +286,7 @@ public class QuestionsController : ControllerBase
|
||||
{
|
||||
rating = await _ratings.ApplyFirstResultAsync(userId, question, false, shouldRate);
|
||||
if (shouldRate)
|
||||
await _attempts.MarkRatingAppliedAsync(record.Attempt.Id ?? "", ratingOwner);
|
||||
await _attempts.MarkRatingAppliedAsync(record.Attempt.Id ?? "", ratingOwner, rating.UserOverallElo);
|
||||
}
|
||||
catch
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user