Skip to content

Commit

Permalink
Merge branch 'hotfix/list-programs' into hotfix/list-programs-2
Browse files Browse the repository at this point in the history
  • Loading branch information
daisieh committed Nov 21, 2024
2 parents 6dafbd0 + 22239b0 commit a3bcd4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def get_program_in_opa(program_id, token):
def list_programs_in_opa(token):
response, status_code = authx.auth.list_programs_in_opa()
if status_code == 200:
return response
return response, 200
return {"error": response}, status_code


Expand Down

0 comments on commit a3bcd4c

Please sign in to comment.