Skip to content

Commit

Permalink
fix: support new aliased configuration on token creation
Browse files Browse the repository at this point in the history
  • Loading branch information
darccio committed Sep 17, 2024
1 parent d845797 commit b5c0b8d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/controllers/events_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def update_params
end

def create_token_params
params.permit(:value, :aliased, :multiple, :send, :role)
params.permit(:value, :multiple, :send, :role)
end

def role
Expand All @@ -146,7 +146,7 @@ def multiple
end

def aliased
create_token_params.fetch(:aliased, '0').to_i == 1
consultation.config.alias != 'none'
end

def send_magic_link
Expand Down

0 comments on commit b5c0b8d

Please sign in to comment.