Code clean up and standardize
This commit is contained in:
@@ -75,7 +75,7 @@ async def patch_contact_obj(
|
||||
async def patch_contact_json(
|
||||
contact_obj: Contact_Base,
|
||||
contact_id: str = Query(..., min_length=1, max_length=22),
|
||||
create_missing_obj: bool = False,
|
||||
create_sub_obj: bool = False,
|
||||
x_account_id: Optional[str] = Header(..., ),
|
||||
return_obj: Optional[bool] = True,
|
||||
by_alias: Optional[bool] = True,
|
||||
@@ -95,7 +95,7 @@ async def patch_contact_json(
|
||||
if contact_obj_up_result := update_contact_obj(
|
||||
contact_id=contact_id,
|
||||
contact_obj_up=contact_obj,
|
||||
create_missing_obj=create_missing_obj,
|
||||
create_sub_obj=create_sub_obj,
|
||||
):
|
||||
|
||||
log.debug(contact_obj_up_result)
|
||||
|
||||
Reference in New Issue
Block a user