mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 22:57:21 +01:00
chore(promo): end gift subs promo
This commit is contained in:
@@ -145,10 +145,6 @@ api.checkoutSuccess = {
|
||||
|
||||
await paypalPaymentExecute(paymentId, { payer_id: customerId });
|
||||
await payments[method](data);
|
||||
if (gift && gift.type === 'subscription' && gift.member._id !== data.user._id) {
|
||||
gift.member = data.user;
|
||||
await payments.createSubscription(data);
|
||||
}
|
||||
res.redirect('/');
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user