mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-26 16:56:22 +00:00
fix: el reporte remoto es opcional
This commit is contained in:
parent
b334d49654
commit
5c22015fe2
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ class ActorModeration < ApplicationRecord
|
|||
IGNORED_STATES = []
|
||||
|
||||
belongs_to :site
|
||||
belongs_to :remote_flag, class_name: 'ActivityPub::RemoteFlag'
|
||||
belongs_to :remote_flag, optional: true, class_name: 'ActivityPub::RemoteFlag'
|
||||
belongs_to :actor, class_name: 'ActivityPub::Actor'
|
||||
|
||||
accepts_nested_attributes_for :remote_flag
|
||||
|
|
Loading…
Reference in a new issue