mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-18 20:36:21 +00:00
fix: se puede volver a pausar después de rechazarla
This commit is contained in:
parent
e733c45b63
commit
a9bdabf409
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ class ActivityPub < ApplicationRecord
|
|||
# Si un objeto previamente aprobado fue actualizado, volvemos a
|
||||
# pausarlo.
|
||||
event :pause do
|
||||
transitions from: %i[waiting approved], to: :paused
|
||||
transitions from: %i[waiting approved rejected], to: :paused
|
||||
end
|
||||
|
||||
# La actividad se aprueba
|
||||
|
|
Loading…
Reference in a new issue