Skip to content

Commit

Permalink
code review
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrOertlin committed Mar 18, 2024
1 parent 678b3ca commit ccfe90d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions genotype_api/api/endpoints/plates.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,8 @@ def sign_off_plate(
"""

plate: Plate = get_plate(session=session, plate_id=plate_id)
db_user = get_user_by_email(session=session, email=current_user.email)
plate_sign_off = PlateSignOff(
user_id=db_user.id,
user_id=current_user.id,
signed_at=datetime.now(),
method_document=method_document,
method_version=method_version,
Expand Down

0 comments on commit ccfe90d

Please sign in to comment.