You've already forked AstralRinth
forked from didirus/AstralRinth
Fix inverted condition with refunds (#3539)
Signed-off-by: Emma Alexia <emma@modrinth.com>
This commit is contained in:
@@ -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)
|
(None, None)
|
||||||
} else {
|
} else {
|
||||||
match charge.payment_platform {
|
match charge.payment_platform {
|
||||||
|
|||||||
Reference in New Issue
Block a user