Commit 15b8ee1d authored by Luna's avatar Luna 📟

user.billing: add support for yearly subscriptions

parent 0a29d315
Pipeline #37467432 passed with stage
in 5 minutes and 30 seconds
......@@ -334,7 +334,9 @@ async def _create_subscription():
period_end = {
'premium_month_tier_1': '1 month',
'premium_month_tier_2': '1 month'
'premium_month_tier_2': '1 month',
'premium_year_tier_1': '1 year',
'premium_year_tier_2': '1 year',
}[plan_id]
new_id = get_snowflake()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment