mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-22 19:46:23 +00:00
fix: el reporte remoto es opcional
This commit is contained in:
parent
ea34b2c676
commit
38ba8795de
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ class ActivityPub < ApplicationRecord
|
|||
belongs_to :site
|
||||
belongs_to :object, polymorphic: true
|
||||
belongs_to :actor
|
||||
belongs_to :remote_flag, class_name: 'ActivityPub::RemoteFlag'
|
||||
belongs_to :remote_flag, optional: true, class_name: 'ActivityPub::RemoteFlag'
|
||||
has_many :activities
|
||||
|
||||
validates :site_id, presence: true
|
||||
|
|
Loading…
Reference in a new issue