diff --git a/apps/labrinth/src/routes/internal/billing.rs b/apps/labrinth/src/routes/internal/billing.rs index 7ef810286..8eefe0f26 100644 --- a/apps/labrinth/src/routes/internal/billing.rs +++ b/apps/labrinth/src/routes/internal/billing.rs @@ -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 {