feat: addon.is_enabled
This commit is contained in:
@@ -11,7 +11,13 @@ async def get_pricing_model(addons_repo: AddonsRepository, pricing_repo: Pricing
|
||||
|
||||
addons = await addons_repo.get_all()
|
||||
addons_data = [
|
||||
AddonData(id=a.id, name=a.name, price=a.price, free_threshold=a.free_threshold)
|
||||
AddonData(
|
||||
id=a.id,
|
||||
name=a.name,
|
||||
price=a.price,
|
||||
free_threshold=a.free_threshold,
|
||||
is_enabled=a.is_enabled,
|
||||
)
|
||||
for a in addons
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user