Skip to content

Commit

Permalink
Merge pull request #1847 from sanger/Y24-190-2-use-ss-v2-for-labware-…
Browse files Browse the repository at this point in the history
…metadata

Y24-190-2: Use ss v2 for labware metadata
  • Loading branch information
sdjmchattie authored Aug 14, 2024
2 parents 33f7d05 + 1e1a076 commit 64aa80f
Show file tree
Hide file tree
Showing 55 changed files with 1,376 additions and 1,194 deletions.
2 changes: 1 addition & 1 deletion app/controllers/labware_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,6 @@ def state_changer_for(purpose_uuid, labware_uuid)
end

def presenter_for(labware)
Presenters.lookup_for(labware).new(api: api, labware: labware)
Presenters.lookup_for(labware).new(labware: labware)
end
end
2 changes: 1 addition & 1 deletion app/controllers/robots_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def update_bed_labware_metadata(bed, robot_barcode)
#
def labware_created_with_robot(labware_barcode, robot_barcode)
LabwareMetadata
.new(api: api, user: current_user_uuid, barcode: labware_barcode)
.new(user_uuid: current_user_uuid, barcode: labware_barcode)
.update!(created_with_robot: robot_barcode)
end

Expand Down
Loading

0 comments on commit 64aa80f

Please sign in to comment.