No need to convert cardNo to an int, since it already is
This commit is contained in:
parent
85c45ef57e
commit
fe986f8e4d
|
@ -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'],
|
||||||
|
|
Loading…
Reference in a new issue