mirror of https://gitlab.com/litecord/litecord.git
user.billing: add support for yearly subscriptions
This commit is contained in:
parent
0a29d3156a
commit
15b8ee1db9
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Reference in New Issue