mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-04 02:09:37 +02:00
Cache refresh actor promise
This commit is contained in:
parent
a6a12dae10
commit
4ead40e776
6 changed files with 49 additions and 15 deletions
|
@ -47,7 +47,7 @@ async function refreshActor (actorUrl: string) {
|
|||
const actor = await ActorModel.loadByUrlAndPopulateAccountAndChannel(actorUrl)
|
||||
|
||||
if (actor) {
|
||||
await refreshActorIfNeeded(actor, fetchType)
|
||||
await refreshActorIfNeeded({ actor, fetchedType: fetchType })
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue