5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-10-07 17:26:55 +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-19 16:17:19 +00:00
commit cd8f4ad42a

View file

@ -30,7 +30,9 @@ class ActivityPub
current_type = object.type
content = FastJsonparser.parse(response.body)
object.lock.update!(content: content, type: ActivityPub::Object.type_from(content).name)
object.with_lock do
object.update!(content: content, type: ActivityPub::Object.type_from(content).name)
end
object = ::ActivityPub::Object.find(object_id)
# Actualiza la mención