Skip to content

Commit

Permalink
formatting and comments
Browse files Browse the repository at this point in the history
  • Loading branch information
daisieh committed Jan 8, 2025
1 parent 4032a80 commit b342619
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ingest_operations.py
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ def remove_program(program_id):


####
# Pending users
# Pending users: approving a pending user creates a CanDIG-authorized user
####

def add_pending_user():
Expand Down Expand Up @@ -339,6 +339,7 @@ def clear_pending_users():
response, status_code = auth.clear_pending_users_in_opa(token)
return response, status_code


####
# DAC authorization for users
####
Expand Down Expand Up @@ -422,6 +423,7 @@ def remove_program_for_user(user_id, program_id):
return response, status_code
return {"error": f"No program {program_id} found for user"}, status_code


@app.route('/get-token')
def get_token():
# Attempt to grab the token via session_id
Expand Down

0 comments on commit b342619

Please sign in to comment.