Adding cfg_json and data_json fields to more models
This commit is contained in:
@@ -948,6 +948,7 @@ async def pre_program_data_import(
|
||||
'professional_title': str, 'Professional Title': str,
|
||||
'affiliations': str, 'Affiliations': str, 'Company': str,
|
||||
'affiliation': str, 'Affiliation': str,
|
||||
'passcode': str, 'Passcode': str,
|
||||
'notes': str, 'Notes': str,
|
||||
'data_json': str,
|
||||
}
|
||||
@@ -972,6 +973,7 @@ async def pre_program_data_import(
|
||||
'Affiliation': 'affiliations',
|
||||
'affiliation': 'affiliations',
|
||||
'Company': 'affiliations',
|
||||
'Passcode': 'passcode',
|
||||
'Notes': 'notes',
|
||||
},
|
||||
inplace = True)
|
||||
@@ -1030,6 +1032,8 @@ def process_person_data(account_id, source_code, record):
|
||||
|
||||
data['primary_email'] = record.get('email', None)
|
||||
|
||||
data['passcode'] = record.get('passcode', None)
|
||||
|
||||
data['notes'] = record.get('notes', None)
|
||||
|
||||
data['data_json'] = record.get('data_json', None)
|
||||
|
||||
Reference in New Issue
Block a user