sync
This commit is contained in:
parent
0b8050d453
commit
de247b7aae
5 changed files with 2874 additions and 35 deletions
|
|
@ -161,7 +161,9 @@ export async function POST(input: APIEvent) {
|
|||
})
|
||||
|
||||
if (userEmail) {
|
||||
if (coupon === LiteData.firstMonth100Coupon) {
|
||||
if (coupon === LiteData.firstMonth50Coupon) {
|
||||
await Billing.redeemCoupon(userEmail, "GO1MONTH50")
|
||||
} else if (coupon === LiteData.firstMonth100Coupon) {
|
||||
await Billing.redeemCoupon(userEmail, "GOFREEMONTH")
|
||||
} else if (coupon === LiteData.threeMonths100Coupon) {
|
||||
await Billing.redeemCoupon(userEmail, "GO3MONTHS100")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue