Skip to content

Commit

Permalink
ObtainComponent should call super to initialize state of parent class
Browse files Browse the repository at this point in the history
  • Loading branch information
sandbergja committed Nov 10, 2021
1 parent 6843b64 commit e040a83
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/components/obtain_component.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ def initialize(document:, evergreen_service:, size: :medium)
@document = document
@evergreen_service = evergreen_service
@record_id = @document.first :id
super
end

private
Expand Down

0 comments on commit e040a83

Please sign in to comment.