Skip to content

Commit fff494f

Browse files
committed
Fixed load invoice function
1 parent 85f789f commit fff494f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

feature-billing/src/wasmJsMain/kotlin/com/mooncloak/website/feature/billing/BillingViewModel.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ public class BillingViewModel public constructor(
122122
val currency = currentState.selectedCryptoCurrency
123123
var invoice = currentState.invoice
124124

125-
if (invoice == null && productId != null) {
125+
if (invoice == null) {
126126
invoice = getInvoice(
127127
productId = productId,
128128
token = currentState.token?.value,

0 commit comments

Comments
 (0)