Skip to content
Browse files

fixed environment checkin bug

  • Loading branch information...
1 parent c2fd6ec commit 1e6dd1ebcf2d0afc750c9b280b91de62eeff8753 @asorici committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 client/views.py
View
2 client/views.py
@@ -249,7 +249,7 @@ def checkin_succeeded(request, area = None, env = None):
envr_item = envr.obj_get(pk=env.id)
envr_bundle = envr.build_bundle(obj = envr_item, request=request)
- env_data = {"location_type" : "environment", "location_data" : envr.full_dehydrate(envr_bundle).data}
+ env_data = envr.full_dehydrate(envr_bundle).data
response['data'].update(env_data)
return view_response(request, response, 200)

0 comments on commit 1e6dd1e

Please sign in to comment.
Something went wrong with that request. Please try again.