Skip to content

Commit fccaef5

Browse files
authored
Merge pull request #4737 from nhsuk/school-move-set-user
Set `current_user` when creating a patient from a consent form
2 parents a47b5de + ff19e8d commit fccaef5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/controllers/consent_forms_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def create_patient
105105
)
106106
end
107107

108-
school_move.confirm!
108+
school_move.confirm!(user: current_user)
109109

110110
@consent_form.match_with_patient!(patient, current_user:)
111111
end

0 commit comments

Comments
 (0)