added consequence of sending proof
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user