5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-30 16:26:22 +00:00

Merge branch 'issue-15109-1' of https://0xacab.org/sutty/sutty into production.panel.sutty.nl

This commit is contained in:
Sutty 2024-03-06 17:12:30 +00:00
commit b79c53ac6f
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