mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-22 19:46:23 +00:00
feat: siempre actualizar la fecha de le actore al guardar una actividad
This commit is contained in:
parent
e07da7858e
commit
0e2f6276eb
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ class ActivityPub
|
||||||
include ActivityPub::Concerns::JsonLdConcern
|
include ActivityPub::Concerns::JsonLdConcern
|
||||||
|
|
||||||
belongs_to :activity_pub
|
belongs_to :activity_pub
|
||||||
belongs_to :actor
|
belongs_to :actor, touch: true
|
||||||
has_one :object, through: :activity_pub
|
has_one :object, through: :activity_pub
|
||||||
|
|
||||||
validates :activity_pub_id, presence: true
|
validates :activity_pub_id, presence: true
|
||||||
|
|
Loading…
Reference in a new issue