diff --git a/instruct/handlers.py b/instruct/handlers.py index 44d7cb7..67cdcf5 100644 --- a/instruct/handlers.py +++ b/instruct/handlers.py @@ -184,7 +184,7 @@ async def create_sd_ticket_for_trueconf(user_id: str, cn: str) -> str | None: # Получаем email из AD ad_info = get_ad_user_info(user_id) - requester_email = ad_info.get("mail", DEFAULT_REQUESTER) if ad_info else DEFAULT_REQUESTER + requester_email = ad_info.get("mail") or DEFAULT_REQUESTER city = ad_info.get("city", "Кемерово") if ad_info else "Кемерово" description = (