chore: Increase character limit for external url fields (#7230)
- Increase the external url field validation to 2048 characters fixes: https://github.com/chatwoot/chatwoot/issues/7098
This commit is contained in:
@@ -28,6 +28,7 @@ class AgentBot < ApplicationRecord
|
||||
enum bot_type: { webhook: 0, csml: 1 }
|
||||
|
||||
validate :validate_agent_bot_config
|
||||
validates :outgoing_url, length: { maximum: Limits::URL_LENGTH_LIMIT }
|
||||
|
||||
def available_name
|
||||
name
|
||||
|
||||
Reference in New Issue
Block a user