mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-18 18:46:22 +00:00
docs: orden en que se crean los registros
This commit is contained in:
parent
b477487b65
commit
732012e14b
1 changed files with 6 additions and 0 deletions
|
@ -24,6 +24,12 @@ module Api
|
||||||
|
|
||||||
ActivityPub.transaction do
|
ActivityPub.transaction do
|
||||||
# Crea todos los registros necesarios y actualiza el estado
|
# Crea todos los registros necesarios y actualiza el estado
|
||||||
|
#
|
||||||
|
# 1. Actor
|
||||||
|
# 2. Instance
|
||||||
|
# 3. Object
|
||||||
|
# 4. ActivityPub
|
||||||
|
# 5. Activity
|
||||||
activity.update_activity_pub_state!
|
activity.update_activity_pub_state!
|
||||||
end
|
end
|
||||||
rescue ActiveRecord::RecordInvalid => e
|
rescue ActiveRecord::RecordInvalid => e
|
||||||
|
|
Loading…
Reference in a new issue