Add API route for vending card balance

This commit is contained in:
2022-08-23 03:44:35 +00:00
parent 50a210a9b2
commit 0257a8cd63
3 changed files with 25 additions and 3 deletions

View File

@@ -92,7 +92,7 @@ export function Paymaster(props) {
<Header size='medium'>Protocoin</Header>
<p>Protocoin is used to buy things from Protospace's vending machines.</p>
<p>Current balance: ₱&thinsp;{user.member.protocoin}</p>
<p>Current balance: ₱&thinsp;{user.member.protocoin.toFixed(2)}</p>
<Grid stackable padded columns={2}>
<Grid.Column width={5}>