feat(orders): integrate Pally payment and order management

This commit is contained in:
2026-07-31 13:42:14 +07:00
parent 2547bcfcba
commit 8fbd739697
20 changed files with 661 additions and 36 deletions

View File

@@ -13,3 +13,9 @@ class AddonsRepository:
r = await self.session.execute(stmt)
return list(r.scalars().all())
async def get_by_id(self, id: str) -> Addon | None:
stmt = select(Addon).where(Addon.id == id)
r = await self.session.execute(stmt)
return r.scalar_one_or_none()