Skip to content

Commit

Permalink
added a debug line in facility_models.py: 140
Browse files Browse the repository at this point in the history
  • Loading branch information
ertush committed Aug 2, 2024
1 parent 2473d66 commit 11a915d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions facilities/models/facility_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,8 @@ def get_org_unit_id(self, code):
"Accept": "application/json"
},
)
raise ValidationError("[DEBUG] Repsonse_Generated {}".format(r_generate_orgunit_uid.json()['codes'][0]))

# print("New OrgUnit UID Generated-", r_generate_orgunit_uid.json()['codes'][0])
return [r_generate_orgunit_uid.json()['codes'][0], 'generated']
# raise ValidationError(
Expand Down

0 comments on commit 11a915d

Please sign in to comment.