Skip to content

Commit

Permalink
Merge pull request mastodon#1242 from nileshtrivedi/increase_length_f…
Browse files Browse the repository at this point in the history
…or_why_join_field

Fix mastodon#1236 Increase max length of UserInviteRequest.text from 420 to 5000
  • Loading branch information
dariusk committed Dec 12, 2022
2 parents 9a63ac6 + 5ee505d commit ab37360
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/user_invite_request.rb
Expand Up @@ -13,5 +13,5 @@

class UserInviteRequest < ApplicationRecord
belongs_to :user, inverse_of: :invite_request
validates :text, presence: true, length: { maximum: 420 }
validates :text, presence: true, length: { maximum: 5000 }
end

0 comments on commit ab37360

Please sign in to comment.