5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2025-01-19 13:03:39 +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? raise 'No se pudo enviar el reporte' unless response.ok?
remote_flag.send! remote_flag.report!
rescue Exception => e rescue Exception => e
ExceptionNotifier.notify_exception(e, data: { remote_flag: remote_flag.id, response: response.parsed_response }) ExceptionNotifier.notify_exception(e, data: { remote_flag: remote_flag.id, response: response.parsed_response })
raise raise

View file

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