Validate number of chips on `add_chips` call from Room page
zkayser opened this issue · comments
Zack Kayser commented
When a user inserts a negative number for the number of chips to add from the Bank
toolbar button on the Room
page, it triggers an error on the server. This validation can and should be done on both the client and the server. The client can validate and prevent users from sending negative chips, while the server can ensure that no negative amounts get through.
Zack Kayser commented
[12/30] DONE