Refactor Omada class methods for clarity; update device blocking logic in DeviceBlockAPIView and improve user verification error handling
This commit is contained in:
@@ -61,8 +61,6 @@ class ErrorMessages:
|
||||
@api_view(["GET"])
|
||||
def healthcheck(request):
|
||||
add.delay(1, 2)
|
||||
# devices = Device.objects.filter(is_active=False).values()
|
||||
# add_new_devices_to_omada.delay(new_devices=list(devices))
|
||||
return Response({"status": "Good"}, status=status.HTTP_200_OK)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user