mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-22 19:36:21 +00:00
parent
cc654be121
commit
b6fdc8a580
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ class ActivityPub
|
|||
include AASM
|
||||
|
||||
validates :aasm_state, presence: true, inclusion: { in: %w[paused allowed blocked] }
|
||||
validates :hostname, uniqueness: true, hostname: true
|
||||
validates :hostname, uniqueness: true, hostname: { allow_numeric_hostname: true }
|
||||
|
||||
has_many :activity_pubs
|
||||
has_many :actors
|
||||
|
|
Loading…
Reference in a new issue