mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-27 17:46:23 +00:00
Merge branch 'issue-15109-1' of https://0xacab.org/sutty/sutty into production.panel.sutty.nl
This commit is contained in:
commit
cd8f4ad42a
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue