mirror of
https://0xacab.org/sutty/sutty
synced 2025-02-25 14:11:49 +00:00
Merge branch 'issue-15109-1' of https://0xacab.org/sutty/sutty into production.panel.sutty.nl
This commit is contained in:
commit
3cefb6441e
1 changed files with 2 additions and 0 deletions
|
@ -31,6 +31,8 @@ class ActivityPub
|
||||||
|
|
||||||
# Arreglar las relaciones con actividades también
|
# Arreglar las relaciones con actividades también
|
||||||
ActivityPub.where(object_id: object.id).update_all(object_type: object.type) unless current_type == object.type
|
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
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue