mirror of https://github.com/Chocobozzz/PeerTube
Fix actor refresh
parent
7bc2917145
commit
6fd5ca1ec5
|
@ -320,6 +320,8 @@ async function refreshActorIfNeeded (actor: ActorModel) {
|
||||||
await updateActorAvatarInstance(actor, result.avatarName, t)
|
await updateActorAvatarInstance(actor, result.avatarName, t)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Force update
|
||||||
|
actor.setDataValue('updatedAt', new Date())
|
||||||
await actor.save({ transaction: t })
|
await actor.save({ transaction: t })
|
||||||
|
|
||||||
if (actor.Account) {
|
if (actor.Account) {
|
||||||
|
|
Loading…
Reference in New Issue