diff options
Diffstat (limited to 'model')
-rw-r--r-- | model/command.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/model/command.go b/model/command.go index ca3038122..b854ae76a 100644 --- a/model/command.go +++ b/model/command.go @@ -99,7 +99,7 @@ func (o *Command) IsValid() *AppError { return NewLocAppError("Command.IsValid", "model.command.is_valid.team_id.app_error", nil, "") } - if len(o.Trigger) > 1024 { + if len(o.Trigger) > 128 { return NewLocAppError("Command.IsValid", "model.command.is_valid.trigger.app_error", nil, "") } |