fix bugs
diff --git a/plstackapi/core/views/deployment_networks.py b/plstackapi/core/views/deployment_networks.py
index 60e8b14..d57962a 100644
--- a/plstackapi/core/views/deployment_networks.py
+++ b/plstackapi/core/views/deployment_networks.py
@@ -17,8 +17,8 @@
data = parse_request(request.DATA)
if 'auth' not in data:
return Response(status=status.HTTP_400_BAD_REQUEST)
- elif 'deployment_network' in data:
- deployment = add_deployment_network(data['auth'], data['deployment_network'].get('name'))
+ elif 'deploymentNetwork' in data:
+ deployment = add_deployment_network(data['auth'], data['deploymentNetwork'].get('name'))
serializer = DeploymentNetworkSerializer(deployment)
return Response(serializer.data, status=status.HTTP_201_CREATED)
else: