1
0
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:
Ferdinand Mütsch 2023-03-21 18:05:34 +01:00
parent bfeebafb2f
commit 0cf09a0871

View File

@ -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,
} }