Commit a9b5ed20 authored by Dionysis Grigoropoulos's avatar Dionysis Grigoropoulos Committed by Christos Stavrakakis
Browse files

cyclades: Update success code on subnet create

parent d2aec456
......@@ -148,7 +148,7 @@ def create_subnet(request):
subnet_dict = subnet_to_dict(sub)
data = json.dumps({'subnet': subnet_dict})
return HttpResponse(data, status=200)
return HttpResponse(data, status=201)
@api.api_method(http_method='GET', user_required=True, logger=log)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment