Skip to content

Commit

Permalink
Enrollment: no longer render MonComptePro by default
Browse files Browse the repository at this point in the history
hope it will work in production 🤷
  • Loading branch information
skelz0r committed Oct 3, 2024
1 parent f75d6e0 commit 2bc9372
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions backend/app/models/enrollment.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ def migrated_target_apis
end
end

default_scope { where.not(target_api: ["mon_compte_pro"]) }

validate :update_validation
validate :submit_validation, on: :submit

Expand Down

0 comments on commit 2bc9372

Please sign in to comment.