bug fix: status of the pla

legacy
Gogs 7 years ago
parent fb8d5bd342
commit 9bb60b0cb9

@ -141,7 +141,7 @@ class User:
return []
def plans(self):
lsub = self.subscriptions()
plans = [ sub['plan'] for sub in lsub if sub['ended_at'] is None ]
plans = [ dict({"status":sub['status']},**sub['plan']) for sub in lsub if sub['ended_at'] is None ]
return plans
"""

Loading…
Cancel
Save