Skip to content

Commit

Permalink
test admin validate
Browse files Browse the repository at this point in the history
  • Loading branch information
ayobi committed Mar 26, 2024
1 parent 1ceb9b9 commit 43dc44f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions microsetta_private_api/admin/admin_impl.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,8 +272,7 @@ def create_kits(body, token_info):
return jsonify(kits), 201


def generate_barcodes(body, token_info):
validate_admin_access(token_info)
def generate_barcodes(body):

number_of_kits = body['number_of_kits']
number_of_samples = body['number_of_samples']
Expand All @@ -286,8 +285,7 @@ def generate_barcodes(body, token_info):
return barcode


def insert_barcodes(body, token_info):
validate_admin_access(token_info)
def insert_barcodes(body):

barcode = body['barcodes']
project_id = [body['project_id']]
Expand Down

0 comments on commit 43dc44f

Please sign in to comment.