mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-17 18:36:21 +00:00
fix: vaciar el contenido antes de cambiar de estado
This commit is contained in:
parent
a4133c6001
commit
3292d7ebe3
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue