Remove registration decline message on approved vendor.
Remove registration decline reason (if exist) when approving a vendor's registration request. Change-Id: I88102c302555fcd65f715f511a5a445efe7437b3
This commit is contained in:
parent
c67ec09349
commit
b6cfe62b3b
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user