Rename the old CORE Customer model, to CustData

it now has a new Customer model, so we use that where we can
This commit is contained in:
Lance Edgar 2020-03-16 16:08:14 -05:00
parent fe986f8e4d
commit 29166f4b1e
3 changed files with 5 additions and 5 deletions

View file

@ -102,7 +102,7 @@ class CustomerImporter(FromCOREPOSAPI, importing.model.CustomerImporter):
if customer:
customers[dbcust.card_number] = customer
else:
logger = log.warning if dbcust.person_number == 1 else log.debug
logger = log.warning if dbcust.account_holder else log.debug
logger("could not fetch customer from CORE API: %s",
dbcust.card_number)