gwu-libraries / libcal_pp_integration

Development repo for API integration between LibCal and Passage Point
1 stars 0 forks source link

Repeated error when user has no barcode in Alma #7

Closed dolsysmith closed 3 years ago

dolsysmith commented 3 years ago

Fix:

  1. app.py, line 157 -- to catch missing barcodes and skip PassagePoint prereg:
     if not user.get('barcode'):
          logger.debug(f'User {pid} missing barcode in Alma. Skipping preregistration.')
          continue