Fix inverted condition with refunds (#3539)
Signed-off-by: Emma Alexia <emma@modrinth.com>
This commit is contained in:
parent
1903980b71
commit
3cd6718384
@ -206,7 +206,7 @@ pub async fn refund_charge(
|
||||
));
|
||||
}
|
||||
|
||||
let (id, net) = if refund_amount != 0 {
|
||||
let (id, net) = if refund_amount == 0 {
|
||||
(None, None)
|
||||
} else {
|
||||
match charge.payment_platform {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user