No need to convert cardNo to an int, since it already is

This commit is contained in:
Lance Edgar 2020-03-16 16:05:48 -05:00
parent 85c45ef57e
commit fe986f8e4d

View file

@ -125,7 +125,7 @@ class CustomerImporter(FromCOREPOSAPI, importing.model.CustomerImporter):
return { return {
'id': customer['customerAccountID'], 'id': customer['customerAccountID'],
'number': int(customer['cardNo']), 'number': customer['cardNo'],
'name': normalize_full_name(person['firstName'], 'name': normalize_full_name(person['firstName'],
person['lastName']), person['lastName']),
'first_name': person['firstName'], 'first_name': person['firstName'],