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:
parent
0da69de6a7
commit
44ef583a23
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?
|
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
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue