mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-23 04:16:21 +00:00
fix: no se puede rechazar luego de aprobar todavía
This commit is contained in:
parent
5db7506752
commit
6412fc108e
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ class ActivityPub < ApplicationRecord
|
||||||
|
|
||||||
# La actividad fue rechazada
|
# La actividad fue rechazada
|
||||||
event :reject do
|
event :reject do
|
||||||
transitions from: %i[paused approved], to: :rejected
|
transitions from: %i[paused], to: :rejected
|
||||||
|
|
||||||
before do
|
before do
|
||||||
reject_remotely!
|
reject_remotely!
|
||||||
|
|
Loading…
Reference in a new issue