Skip to content

Commit

Permalink
Fix unknown local variable
Browse files Browse the repository at this point in the history
  • Loading branch information
mattwr18 authored Oct 10, 2024
1 parent 078227b commit d52c772
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def message
def create_api_key
channel_ids = create_api_key_params[:channels].split('[').last.split(']').last.split(',')
client_id = create_api_key_params[:client]
organization.update!(three_sixty_dialog_client_id: client_id)
@organization.update!(three_sixty_dialog_client_id: client_id)
channel_ids.each do |channel_id|
WhatsAppAdapter::CreateApiKey.perform_later(organization_id: @organization.id, channel_id: channel_id)
end
Expand Down

0 comments on commit d52c772

Please sign in to comment.