diff --git a/website/common/script/content/constants/events.js b/website/common/script/content/constants/events.js index c6b7f77919..e49ec4d7de 100644 --- a/website/common/script/content/constants/events.js +++ b/website/common/script/content/constants/events.js @@ -18,16 +18,10 @@ export const EVENTS = { end: '2021-03-20T08:00-05:00', season: 'normal', }, - winter2021NoPromo: { - start: '2021-01-07T20:00-05:00', - end: '2021-01-31T20:00-05:00', - season: 'winter', - }, winter2021: { start: '2020-12-17T08:00-05:00', - end: '2021-01-07T20:00-05:00', + end: '2021-01-31T20:00-05:00', season: 'winter', - promo: 'g1g1', }, noCurrentEvent2020: { start: '2020-10-31T20:00-05:00', diff --git a/website/server/libs/payments/subscriptions.js b/website/server/libs/payments/subscriptions.js index e2d6a1a2f9..06deefd40f 100644 --- a/website/server/libs/payments/subscriptions.js +++ b/website/server/libs/payments/subscriptions.js @@ -187,7 +187,7 @@ async function createSubscription (data) { quantity: 1, gift: Boolean(data.gift), purchaseValue: block.price, - headers: data.headers, + headers: data.headers || { 'x-client': 'habitica-web' }, firstPurchase: !group && data.user.purchased.txnCount === 1, }); }