mirror of
https://github.com/BEDOLAGA-DEV/remnawave-bedolaga-telegram-bot.git
synced 2026-02-23 12:53:41 +00:00
Add .selectinload(Subscription.tariff) chain to all User queries that load subscriptions, preventing lazy loading of the tariff relationship in async context. Also replace unsafe getattr(subscription, 'tariff') with explicit async get_tariff_by_id() in handle_extend_subscription.