mirror of
https://gitlab.com/MoonTestUse1/AdministrationItDepartmens.git
synced 2025-08-14 00:25:46 +02:00
Починка send_natification
This commit is contained in:
@@ -114,7 +114,7 @@ def create_request(
|
|||||||
|
|
||||||
# Send notification to Telegram (non-blocking)
|
# Send notification to Telegram (non-blocking)
|
||||||
try:
|
try:
|
||||||
send_notification(notification_data)
|
await send_notification(notification_data)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print(f"Failed to send Telegram notification: {e}")
|
print(f"Failed to send Telegram notification: {e}")
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user