1
0
mirror of https://gitlab.com/MoonTestUse1/AdministrationItDepartmens.git synced 2025-08-14 00:25:46 +02:00

add websockets support2

This commit is contained in:
MoonTestUse1
2025-01-05 01:33:35 +06:00
parent 3ccd6c1e96
commit fcebf11f00
2 changed files with 5 additions and 10 deletions

View File

@@ -48,10 +48,9 @@ async def create_request(
# Получаем полные данные о заявке для отправки через WebSocket
request_data = {
"id": db_request.id,
"title": db_request.title,
"description": db_request.description,
"status": db_request.status,
"priority": db_request.priority,
"status": db_request.status.value,
"priority": db_request.priority.value,
"request_type": db_request.request_type,
"department": db_request.department,
"employee_id": current_employee["id"],