5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-17 16:36:23 +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
transitions to: :removed
after do
object.update(object: {})
before do
object.update(content: {})
end
end