mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-23 04:16:21 +00:00
parent
86ba17328d
commit
0fe043dd79
1 changed files with 2 additions and 0 deletions
|
@ -31,6 +31,8 @@ class ActivityPub
|
|||
|
||||
# Arreglar las relaciones con actividades también
|
||||
ActivityPub.where(object_id: object.id).update_all(object_type: object.type) unless current_type == object.type
|
||||
rescue FastJsonparser::ParseError => e
|
||||
ExceptionNotifier.notify_exception(e, data: { site: site.name, body: response.body })
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue