Skip to content

Commit

Permalink
Remove undesired change
Browse files Browse the repository at this point in the history
  • Loading branch information
mattwr18 committed Dec 3, 2024
1 parent 508cd06 commit 5e72aee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/dashboards/organization_dashboard.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class OrganizationDashboard < Administrate::BaseDashboard
whats_app_more_info_message: Field::Text,
whats_app_profile_about: Field::Text,
signal_complete_onboarding_link: Field::Url,
whats_app_quick_reply_button_text: Field::JSONB
whats_app_quick_reply_button_text: Field::JSONB,
email_from_address: Field::Email,
telegram_bot_username: Field::String,
telegram_bot_api_key: Field::String,
Expand Down
2 changes: 1 addition & 1 deletion app/models/organization.rb
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def whats_app_onboarding_allowed?
end

def telegram_bot
Telegram::Bot::Client.new(telegram_bot_api_key)
Telegram.bots[id]
end

def twilio_instance
Expand Down

0 comments on commit 5e72aee

Please sign in to comment.