mirror of
https://github.com/muety/wakapi.git
synced 2023-08-10 21:12:56 +03:00
fix: updating subscription renewal date
This commit is contained in:
parent
bfeebafb2f
commit
0cf09a0871
@ -144,6 +144,7 @@ func (r *UserRepository) Update(user *models.User) (*models.User, error) {
|
|||||||
"reports_weekly": user.ReportsWeekly,
|
"reports_weekly": user.ReportsWeekly,
|
||||||
"public_leaderboard": user.PublicLeaderboard,
|
"public_leaderboard": user.PublicLeaderboard,
|
||||||
"subscribed_until": user.SubscribedUntil,
|
"subscribed_until": user.SubscribedUntil,
|
||||||
|
"subscription_renewal": user.SubscriptionRenewal,
|
||||||
"stripe_customer_id": user.StripeCustomerId,
|
"stripe_customer_id": user.StripeCustomerId,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user