From 8bd6757a6630cc69dd0f18bbb50bf75f6675b152 Mon Sep 17 00:00:00 2001 From: Nathan Sparrow <24910097+DismalShadowX@users.noreply.github.com> Date: Tue, 7 May 2024 23:14:49 -0400 Subject: [PATCH] Increase poll options to 15 and character length to 150 Signed-off-by: Nathan Sparrow <24910097+DismalShadowX@users.noreply.github.com> --- app/validators/poll_validator.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/validators/poll_validator.rb b/app/validators/poll_validator.rb index a3272779638747..753fab65d37932 100644 --- a/app/validators/poll_validator.rb +++ b/app/validators/poll_validator.rb @@ -1,8 +1,8 @@ # frozen_string_literal: true class PollValidator < ActiveModel::Validator - MAX_OPTIONS = 4 - MAX_OPTION_CHARS = 50 + MAX_OPTIONS = 15 + MAX_OPTION_CHARS = 150 MAX_EXPIRATION = 1.month.freeze MIN_EXPIRATION = 5.minutes.freeze