Skip to content

Commit ed5c698

Browse files
authored
Merge pull request #4184 from nhsuk/fix-rename-organisation-to-team
Fix incorrect reference to organisations
2 parents 5acc346 + bfa9329 commit ed5c698

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/tasks/archive_moved_out_of_cohort_patients.rake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
desc "Migrate patients who were moved out of cohorts to ensure they're archived."
44
task archive_moved_out_of_cohort_patients: :environment do
5-
Organisation.find_each do |team|
5+
Team.find_each do |team|
66
user = OpenStruct.new(selected_team: team)
77

88
patients_in_cohort = team.patients

0 commit comments

Comments
 (0)