mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-16 14:17:22 +01:00
fix(promo): send payment method with promo
This commit is contained in:
@@ -434,6 +434,7 @@ api.createSubscription = async function createSubscription (data) {
|
|||||||
key: data.gift.subscription.key,
|
key: data.gift.subscription.key,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
paymentMethod: data.paymentMethod,
|
||||||
promo: 'Winter',
|
promo: 'Winter',
|
||||||
};
|
};
|
||||||
await this.createSubscription(promoData);
|
await this.createSubscription(promoData);
|
||||||
|
|||||||
Reference in New Issue
Block a user