5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-10-10 18:16:56 +00:00

fix: no se puede rechazar luego de aprobar todavía

This commit is contained in:
f 2024-03-15 14:31:54 -03:00
parent 5db7506752
commit 6412fc108e
No known key found for this signature in database

View file

@ -81,7 +81,7 @@ class ActivityPub < ApplicationRecord
# La actividad fue rechazada
event :reject do
transitions from: %i[paused approved], to: :rejected
transitions from: %i[paused], to: :rejected
before do
reject_remotely!