From dd203b24f953d2880764093ae5f365b9fa6c3444 Mon Sep 17 00:00:00 2001 From: hz Date: Tue, 28 Jul 2026 20:36:15 -0500 Subject: [PATCH] Allow SUPER accounts to earn Rz Coins --- api/QuestionsApi/Controllers/QuestionsController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/QuestionsApi/Controllers/QuestionsController.cs b/api/QuestionsApi/Controllers/QuestionsController.cs index 97f2baf..50b18d6 100644 --- a/api/QuestionsApi/Controllers/QuestionsController.cs +++ b/api/QuestionsApi/Controllers/QuestionsController.cs @@ -175,7 +175,7 @@ public class QuestionsController : ControllerBase _metrics.AttemptDuplicate(); } await _reviewQueue.AddFromFirstAttemptAsync(record.Attempt); - if (record.Inserted && record.Attempt.IsCorrect && req.MetTimeLimit && !User.IsInRole("SUPER")) + if (record.Inserted && record.Attempt.IsCorrect && req.MetTimeLimit) await _credits.AwardForFirstAnswerAsync(userId, record.Attempt.Id ?? ""); var ratingOwner = Guid.NewGuid().ToString("N");