chore: increase webwidget welcome tagline to 600 char limit

This commit is contained in:
Vishnu Narayanan
2025-06-24 11:56:49 +05:30
parent d2f5311400
commit 0f40e3ad75
+1
View File
@@ -41,6 +41,7 @@ class Channel::WebWidget < ApplicationRecord
before_validation :validate_pre_chat_options
validates :website_url, presence: true
validates :widget_color, presence: true
validates :welcome_tagline, length: { maximum: 600 }
has_many :portals, foreign_key: 'channel_web_widget_id', dependent: :nullify, inverse_of: :channel_web_widget
has_secure_token :website_token