mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 15:17:25 +01:00
chore(promo): end gift subs promo
This commit is contained in:
@@ -121,11 +121,6 @@ api.checkout = {
|
||||
}
|
||||
|
||||
await payments[method](data);
|
||||
|
||||
if (gift && gift.type === 'subscription' && gift.member._id !== user._id) {
|
||||
gift.member = user;
|
||||
await payments.createSubscription(data);
|
||||
}
|
||||
}
|
||||
|
||||
res.respond(200, {});
|
||||
|
||||
Reference in New Issue
Block a user