Skip to content

Commit

Permalink
Handle case where no existing user exists for protected fields
Browse files Browse the repository at this point in the history
  • Loading branch information
bltravis committed Oct 11, 2024
1 parent b3b009a commit 4bd110e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/folio_data_import/UserImport.py
Original file line number Diff line number Diff line change
Expand Up @@ -501,6 +501,7 @@ async def process_existing_user(self, user_obj) -> Tuple[dict, dict, dict, dict]
existing_rp = {}
existing_pu = {}
existing_spu = {}
protected_fields = {}
return rp_obj, spu_obj, existing_user, protected_fields, existing_rp, existing_pu, existing_spu

async def create_or_update_rp(self, rp_obj, existing_rp, new_user_obj):
Expand Down

0 comments on commit 4bd110e

Please sign in to comment.