Code clean up. Bug fixes for person, user, contact, and address methods. Fix bug for get_account_id_w_for_type_id()
This commit is contained in:
@@ -150,8 +150,8 @@ def load_account_obj(
|
||||
# Updated 2021-06-17
|
||||
if inc_address_list:
|
||||
if address_rec_list_result := get_address_rec_list(
|
||||
for_obj_type = 'account',
|
||||
for_obj_id = account_id,
|
||||
for_type = 'account', # 'account' is a special case
|
||||
for_id = account_id,
|
||||
limit = limit,
|
||||
enabled = enabled,
|
||||
):
|
||||
@@ -193,8 +193,8 @@ def load_account_obj(
|
||||
# Updated 2021-06-17
|
||||
if inc_contact_list:
|
||||
if contact_rec_list_result := get_contact_rec_list(
|
||||
for_obj_type = 'account',
|
||||
for_obj_id = account_id,
|
||||
for_type = 'account', # 'account' is a special case
|
||||
for_id = account_id,
|
||||
limit = limit,
|
||||
enabled = enabled,
|
||||
):
|
||||
|
||||
Reference in New Issue
Block a user