mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-22 15:26:22 +00:00
fixup! fix: no fallar si no hay registros sobre los que actuar #15725
This commit is contained in:
parent
0561b022de
commit
cc654be121
1 changed files with 1 additions and 1 deletions
|
@ -11,6 +11,6 @@ InstanceModerationPolicy = Struct.new(:usuarie, :instance_moderation) do
|
|||
# En este paso tenemos varias instancias por moderar pero todas son
|
||||
# del mismo sitio.
|
||||
def action_on_several?
|
||||
instance_moderation.first.presence && instance_moderation.first.site.usuarie? usuarie
|
||||
instance_moderation.first.presence && instance_moderation.first.site.usuarie?(usuarie)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue