Betarena / boilerplate

Betarena Template Repository
0 stars 0 forks source link

[Bug]: Balance removed without entering competition #34

Open jonsnowpt opened 4 months ago

jonsnowpt commented 4 months ago

Is there an existing issue for this?

🐞 Describe the bug

At this time, if there is a backend issue and the user tries to enter the competition, the balance is discounted, but the user does not enter the competition.

This is probably related to having two different processes, one to Firestore and the other one to the DB.

🤔 Expected Behavior

The balance should only be discounted if the user is confirmed to have participated in the competition.

What environment is the bug/issue detected in.

What browsers are you seeing the problem on?

What device/platform can the problem be seen?

Steps To Reproduce

No response

Console Logs (if any)

No response

Anything else?

No response