Skip to content

Commit

Permalink
TODO comm
Browse files Browse the repository at this point in the history
  • Loading branch information
JeSuisUnCaillou committed Jan 23, 2025
1 parent 9b8d41a commit a6b3276
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/models/authorization_request.rb
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,7 @@ def all_terms_accepted
end

after_transition to: :validated do |authorization_request|
# TODO : if next stage present in the previous habilitations, then keep the reopening state
authorization_request.update(last_validated_at: Time.zone.now, reopening: false)
end

Expand Down

0 comments on commit a6b3276

Please sign in to comment.