Skip to content

Commit

Permalink
Merge pull request #1738 from DFE-Digital/qualifications-passed
Browse files Browse the repository at this point in the history
Fix reference to passed field
  • Loading branch information
thomasleese authored Oct 6, 2023
2 parents 011c069 + 39814f7 commit 2c4c872
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ def edit
false
end

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

failed =
if requestable.expired?
case requestable.passed
case requestable.review_passed
when true
false
when false
Expand Down

0 comments on commit 2c4c872

Please sign in to comment.