Skip to content

Commit

Permalink
fix param names
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Glatthard committed Aug 6, 2015
1 parent ce3146b commit 1c531c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ipynbsrv/web/views/containers.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def commit(request):

params = {}
ct_id = int(request.POST.get('ct_id'))
params["img_name"] = request.POST.get('img_name')
params["name"] = request.POST.get('img_name')
params["description"] = request.POST.get('description')
params["public"] = request.POST.get('public', "") == "on"

Expand Down Expand Up @@ -88,7 +88,7 @@ def create(request):
params = {}
params["name"] = request.POST.get('name')
params["description"] = request.POST.get('description')
params["image_id"] = int(request.POST.get('image_id'))
params["image"] = int(request.POST.get('image_id'))

client = get_httpclient_instance(request)

Expand Down

0 comments on commit 1c531c1

Please sign in to comment.