mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-10-28 19:59:24 +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,
|
||||
},
|
||||
},
|
||||
paymentMethod: data.paymentMethod,
|
||||
promo: 'Winter',
|
||||
};
|
||||
await this.createSubscription(promoData);
|
||||
|
||||
Reference in New Issue
Block a user