Skip to content

Commit

Permalink
Merge d4a09b5 into 48bc5bc
Browse files Browse the repository at this point in the history
  • Loading branch information
oleksiyVeretiuk committed Jan 24, 2018
2 parents 48bc5bc + d4a09b5 commit 067b963
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openregistry/api/validation.py
Expand Up @@ -77,7 +77,7 @@ def validate_change_status(request, error_handler, **kwargs):
# Get resource_type
resource_type = request.validated['resource_type']
# Get status from PATCH validated data
new_status = request.validated['data'].get("status")
new_status = request.json['data'].get("status")
# Get model from context
model = request.context

Expand Down

0 comments on commit 067b963

Please sign in to comment.