Merge pull request #25 from 3252a8/dependabot/pip/pip-654a3705d3
chore(deps): bump the pip group across 2 directories with 1 update
This commit is contained in:
@@ -105,9 +105,7 @@ async def _build_user_payload(request: web.Request, user_id: int) -> Dict[str, A
|
|||||||
admin_ids = {int(x) for x in (settings.ADMIN_IDS or [])}
|
admin_ids = {int(x) for x in (settings.ADMIN_IDS or [])}
|
||||||
is_admin = bool(db_user.telegram_id and int(db_user.telegram_id) in admin_ids)
|
is_admin = bool(db_user.telegram_id and int(db_user.telegram_id) in admin_ids)
|
||||||
telegram_linked = _user_has_linked_telegram(db_user)
|
telegram_linked = _user_has_linked_telegram(db_user)
|
||||||
referral_welcome_days = max(
|
referral_welcome_days = max(0, int(getattr(settings, "REFERRAL_WELCOME_BONUS_DAYS", 0) or 0))
|
||||||
0, int(getattr(settings, "REFERRAL_WELCOME_BONUS_DAYS", 0) or 0)
|
|
||||||
)
|
|
||||||
referral_welcome_telegram_required_reason = (
|
referral_welcome_telegram_required_reason = (
|
||||||
_referral_welcome_telegram_required_reason(settings, db_user)
|
_referral_welcome_telegram_required_reason(settings, db_user)
|
||||||
if db_user.referred_by_id and not active and referral_welcome_days > 0
|
if db_user.referred_by_id and not active and referral_welcome_days > 0
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
aiogram==3.28.2
|
aiogram==3.28.2
|
||||||
python-dotenv==1.2.2
|
python-dotenv==1.2.2
|
||||||
aiohttp==3.13.5
|
aiohttp>=3.13.5,<3.14
|
||||||
pydantic==2.13.4
|
pydantic==2.13.4
|
||||||
yookassa==3.10.1
|
yookassa==3.10.1
|
||||||
httpx>=0.27.0
|
httpx>=0.27.0
|
||||||
|
|||||||
Reference in New Issue
Block a user