mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 15:17:25 +01:00
fix(subs): append Gift for troubleshooting clarity
This commit is contained in:
@@ -144,7 +144,7 @@ api.checkout = {
|
||||
if (gift.type === 'subscription') method = 'createSubscription';
|
||||
gift.member = await User.findById(gift ? gift.uuid : undefined);
|
||||
data.gift = gift;
|
||||
data.paymentMethod = 'Amazon';
|
||||
data.paymentMethod = 'Amazon Payments (Gift)';
|
||||
}
|
||||
|
||||
await payments[method](data);
|
||||
|
||||
Reference in New Issue
Block a user