Add Rz Coin utility store

This commit is contained in:
hz
2026-07-29 18:34:54 -05:00
parent c14ac1d65b
commit da641a8d1d
21 changed files with 656 additions and 21 deletions
@@ -157,7 +157,8 @@ public class QuestionsController : ControllerBase
req.ChoiceId.Trim() == question.CorrectChoiceId,
false,
presentedChoiceIds,
req.DurationSeconds);
req.DurationSeconds,
await _credits.GetBankCycleAsync(userId));
if (record.Inserted)
{
_metrics.AttemptCreated();
@@ -276,7 +277,8 @@ public class QuestionsController : ControllerBase
userId,
"",
false,
true);
true,
bankCycle: await _credits.GetBankCycleAsync(userId));
if (record.Inserted)
_metrics.AttemptCreated();
else