mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-30 16:16:20 +00:00
Merge branch 'issue-15109-1' of https://0xacab.org/sutty/sutty into production.panel.sutty.nl
This commit is contained in:
commit
b79c53ac6f
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -14,7 +14,7 @@ class ActivityPub
|
|||
transitions from: :waiting, to: :queued
|
||||
end
|
||||
|
||||
event :send do
|
||||
event :report do
|
||||
transitions from: :queued, to: :sent
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue