5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2025-01-19 07:03:38 +00:00

fix: send es un nombre reservado

This commit is contained in:
f 2024-03-06 14:12:04 -03:00
parent 0da69de6a7
commit 44ef583a23
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -22,7 +22,7 @@ class ActivityPub
raise 'No se pudo enviar el reporte' unless response.ok?
remote_flag.send!
remote_flag.report!
rescue Exception => e
ExceptionNotifier.notify_exception(e, data: { remote_flag: remote_flag.id, response: response.parsed_response })
raise

View file

@ -14,7 +14,7 @@ class ActivityPub
transitions from: :waiting, to: :queued
end
event :send do
event :report do
transitions from: :queued, to: :sent
end