mirror of
https://github.com/simple-login/app.git
synced 2025-11-19 00:28:41 +08:00
Invalid field
This commit is contained in:
parent
52fa6cb548
commit
d9e902f0bc
1 changed files with 1 additions and 1 deletions
|
|
@ -60,7 +60,7 @@ def create_partner_subscription(
|
|||
instance = PartnerSubscription.get_by(partner_user_id=partner_user.id)
|
||||
if not instance:
|
||||
raise RuntimeError("Missing partner subscription")
|
||||
if instance.lifetime != lifetime or instance.expiration != expiration:
|
||||
if instance.lifetime != lifetime or instance.end_at != expiration:
|
||||
instance.expiration = expiration
|
||||
instance.lifetime = lifetime
|
||||
emit_user_audit_log(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue