We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d333f61 commit c1aeb92Copy full SHA for c1aeb92
script/generate_model_office_data.rb
@@ -293,7 +293,7 @@ def create_students_and_vaccinations_for(
293
# HPV cohort. If they don't fit into any of the cohorts, then Mavis will
294
# raise an error and won't import them.
295
296
-organisation = User.find_by(email: "nurse.ryg@example.com").organisation
+organisation = User.find_by(email: "nurse.ryg@example.com").organisations.first
297
298
school_data = CSV.read("scratchpad/school-class-sizes.csv", headers: true)
299
0 commit comments