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

fix: vaciar el contenido antes de cambiar de estado

This commit is contained in:
f 2024-02-21 16:42:28 -03:00
parent a4133c6001
commit 3292d7ebe3
No known key found for this signature in database

View file

@ -38,8 +38,8 @@ class ActivityPub < ApplicationRecord
event :remove do event :remove do
transitions to: :removed transitions to: :removed
after do before do
object.update(object: {}) object.update(content: {})
end end
end end