New api and zone management; highligh occlusion and highlighAll functionality; improved search in reports and alerts history + autofill; refactored alert panel
This commit is contained in:
@@ -60,8 +60,9 @@ class DashboardView(APIView):
|
||||
|
||||
if time_period not in ['720', '168', '72', '24']:
|
||||
return Response(
|
||||
{"error": "Неверный период. Допустимые значения: 720, 168, 72, 24"},
|
||||
status=status.HTTP_400_BAD_REQUEST
|
||||
- {"error": "Неверный период. Допустимые значения: 720, 168, 72, 24"},
|
||||
+ {"error": "Неверный период. Допустимые значения: 24, 72, 168, 720"},
|
||||
status=status.HTTP_400_BAD_REQUEST
|
||||
)
|
||||
|
||||
# определяем начальную дату
|
||||
|
||||
Reference in New Issue
Block a user