Refactor Omada integration: encapsulate API calls in Omada class, update device management tasks, and enhance device creation tests
Some checks failed
Build and Push Docker Images / Build and Push Docker Images (push) Failing after 2m12s

This commit is contained in:
2025-06-22 22:55:28 +05:00
parent 3957ca0ea4
commit 9688635f44
5 changed files with 126 additions and 92 deletions

View File

@ -63,7 +63,6 @@ class DeviceListCreateAPIView(
return Response({"message": "MAC address vendor not found."}, status=400)
mac = re.sub(NORMALIZE_MAC_REGEX, "-", mac).upper()
request.data["mac"] = mac
return super().create(request, *args, **kwargs)