mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-17 14:26: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
|
||||
transitions to: :removed
|
||||
|
||||
after do
|
||||
object.update(object: {})
|
||||
before do
|
||||
object.update(content: {})
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue