Merge "Remove registration decline message on approved vendor."
This commit is contained in:
@@ -255,7 +255,7 @@ class VendorsController(validation.BaseRestControllerWithValidation):
|
|||||||
# change vendor type to public
|
# change vendor type to public
|
||||||
props = vendor.get('properties')
|
props = vendor.get('properties')
|
||||||
props = json.loads(props) if props else {}
|
props = json.loads(props) if props else {}
|
||||||
props.pop('reason', None)
|
props.pop('registration_decline_reason', None)
|
||||||
org_info = {
|
org_info = {
|
||||||
'id': vendor['id'],
|
'id': vendor['id'],
|
||||||
'type': const.OFFICIAL_VENDOR,
|
'type': const.OFFICIAL_VENDOR,
|
||||||
|
Reference in New Issue
Block a user