Skip to content

Commit

Permalink
Fix reference to passed field
Browse files Browse the repository at this point in the history
The field no longer exists and has been replaced with `review_passed?`.
  • Loading branch information
thomasleese authored Oct 6, 2023
1 parent 011c069 commit 225ce65
Showing 1 changed file with 2 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,8 @@ def edit
false
end

passed = (requestable.passed if requestable.received?)

failed =
if requestable.expired?
case requestable.passed
when true
false
when false
true
end
end
passed = (requestable.review_passed? if requestable.received?)
failed = (requestable.review_failed? if requestable.expired?)

@form =
QualificationRequestForm.new(
Expand Down

0 comments on commit 225ce65

Please sign in to comment.