mirror of https://gitlab.com/litecord/litecord.git
user.billing: add better stub for subscription.items
This commit is contained in:
parent
60b7216aac
commit
4c1823c8b7
|
|
@ -217,7 +217,9 @@ async def get_subscription(subscription_id: int):
|
|||
for field in to_tstamp:
|
||||
drow[field] = timestamp_(drow[field])
|
||||
|
||||
drow["items"] = []
|
||||
drow["items"] = [
|
||||
{"id": "123", "plan_id": drow["payment_gateway_plan_id"], "quantity": 1}
|
||||
]
|
||||
|
||||
return drow
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue