added consequence of sending proof

This commit is contained in:
2026-04-13 21:27:12 +01:00
parent 81c5c47d97
commit 0cae4924cb
@@ -77,6 +77,7 @@ public class PatchProofEndpoint(
userRandomChallenge.Proof = Convert.ToBase64String(proofBytes);
user.Score++; // 1pts bonus
user.TotalBonusChallenge++; // +1 challenge bonus de fait
await usersRepository.SaveChangesAsync(ct);
await userRandomChallengesRepository.SaveChangesAsync(ct);