Skip to content

Commit

Permalink
fix(server/accounts): transaction new balance (overextended#178)
Browse files Browse the repository at this point in the history
  • Loading branch information
SamShanks1 authored Oct 9, 2024
1 parent 1b00e93 commit 53dc748
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/accounts/db.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export async function UpdateBalance(
amount,
message,
note,
addAction ? null : balance + amount,
addAction ? null : balance - amount,
addAction ? balance + amount : null,
])) === 1;

Expand Down

0 comments on commit 53dc748

Please sign in to comment.