Skip to content

Commit

Permalink
Lint, improve dashboard field types
Browse files Browse the repository at this point in the history
  • Loading branch information
mattwr18 committed Sep 9, 2024
1 parent 3553d74 commit f4c8f57
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions app/dashboards/organization_dashboard.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,6 @@ class OrganizationDashboard < Administrate::BaseDashboard
created_at: Field::DateTime,
updated_at: Field::DateTime,
upgraded_business_plan_at: Field::DateTime,
threemarb_api_identity: Field::String,
threemarb_api_secret: Field::String,
threemarb_private: Field::String,
twilio_account_sid: Field::String,
twilio_api_key_sid: Field::String,
twilio_api_key_secret: Field::String,
onboarding_allowed: Field::JSONB,
onboarding_data_protection_link: Field::Url,
onboarding_data_processing_consent_additional_info: Field::Text,
Expand All @@ -30,9 +24,9 @@ class OrganizationDashboard < Administrate::BaseDashboard
channel_image: Field::ActiveStorage,
whats_app_profile_about: Field::Text,
email_from_address: Field::Email,
telegram_bot_username: Field::Text,
telegram_bot_api_key: Field::Text,
threemarb_api_identity: Field::Text,
telegram_bot_username: Field::String,
telegram_bot_api_key: Field::Password,
threemarb_api_identity: Field::String,
threemarb_api_secret: Field::Password,
threemarb_private: Field::Password
}.freeze
Expand Down

0 comments on commit f4c8f57

Please sign in to comment.