Skip to content

Commit

Permalink
Add user invite object to create action
Browse files Browse the repository at this point in the history
  • Loading branch information
ekumachidi committed Mar 9, 2024
1 parent 1bcb6fd commit 74213b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/schools/users_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ def new
end

def create
@user_invite = DFESignInAPI::UserInvite.new(user_params)
redirect_to root_path
# @user_invite = DFESignInAPI::UserInvite.new(user_params)
# @user_invite.organisation_id = DFESignInAPI::Organisation.new(current_user.sub,
# current_school.urn).current_organisation_id

Expand Down

0 comments on commit 74213b1

Please sign in to comment.