fix - update page access - v4

This commit is contained in:
2025-12-01 10:39:36 +03:30
parent 26171bd3e4
commit 5da43a0d6d

View File

@@ -51,7 +51,7 @@ class UpdatePageAccessViewSet(BaseViewSet, SoftDeleteMixin, viewsets.ModelViewSe
dev_req = requests.get(dev_url)
dev_data = dev_req.json()
prod_url = 'http://127.0.0.1:8000/auth/api/v1/update_access/update_page_access/'
prod_url = 'https://api.dam.rasadyar.com/auth/api/v1/update_access/update_page_access/'
updated_response = requests.post(url=prod_url, json=dev_data)
return Response(updated_response.json())