5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-26 09:16:22 +00:00

fix: a veces el objeto no existe (?)

closes #15554
This commit is contained in:
f 2024-03-13 15:52:33 -03:00
parent f794e8057b
commit 882ab1679c
No known key found for this signature in database

View file

@ -56,6 +56,8 @@ class ActivityPub < ApplicationRecord
transitions to: :removed
before do
next if object.blank?
object.update(content: {}) unless object.content.empty?
end
end