5
0
Fork 0
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:
f 2024-03-06 15:47:27 -03:00
parent b334d49654
commit 5c22015fe2
No known key found for this signature in database

View file

@ -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