2
0

fix max chars to 1024

This commit is contained in:
Nicolas Dextraze
2024-10-12 09:51:37 -04:00
committed by Nicolas Dextraze
parent 26c78392f8
commit d785a9344e
2 changed files with 6 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
# frozen_string_literal: true
class StatusLengthValidator < ActiveModel::Validator
MAX_CHARS = 500
MAX_CHARS = 1024
URL_PLACEHOLDER_CHARS = 23
URL_PLACEHOLDER = 'x' * 23