Merge "Remove registration decline message on approved vendor."

This commit is contained in:
Jenkins 2016-11-29 19:30:13 +00:00 committed by Gerrit Code Review
commit 0e8721e4ad

View File

@ -255,7 +255,7 @@ class VendorsController(validation.BaseRestControllerWithValidation):
# change vendor type to public
props = vendor.get('properties')
props = json.loads(props) if props else {}
props.pop('reason', None)
props.pop('registration_decline_reason', None)
org_info = {
'id': vendor['id'],
'type': const.OFFICIAL_VENDOR,