chore: fix formatting checks

This commit is contained in:
3252a8
2026-05-24 18:51:37 +03:00
parent 6f4074e8d6
commit 2b3078fcce
20 changed files with 41 additions and 59 deletions
+6 -3
View File
@@ -98,9 +98,12 @@ async def ensure_install_share_token(
await session.flush()
if result.rowcount:
await session.refresh(subscription)
return normalize_install_share_token(
getattr(subscription, "install_share_token", None)
) or token
return (
normalize_install_share_token(
getattr(subscription, "install_share_token", None)
)
or token
)
await session.refresh(subscription)
raw_existing = str(getattr(subscription, "install_share_token", "") or "").strip()