Skip to content

Commit 8172e6e

Browse files
committed
1069: Update flag usage
1 parent b1c6c43 commit 8172e6e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/models/school.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def rejected?
6464
end
6565

6666
def verify!
67-
generate_code! if ENV['ENABLE_IMMEDIATE_SCHOOL_ONBOARDING'].blank?
67+
generate_code! unless FeatureFlags.immediate_school_onboarding?
6868

6969
update!(verified_at: Time.zone.now)
7070
end

0 commit comments

Comments
 (0)