From 0095ef91577678e79049265f25b47240bef9e6ae 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