Fix import captions test
This commit is contained in:
parent
ba6e9e8f1d
commit
652c64165b
5 changed files with 47 additions and 36 deletions
|
@ -117,7 +117,7 @@ async function getOrCreateActorAndServerAndModel (
|
|||
if (actor.VideoChannel) (actor as MActorAccountChannelIdActor).VideoChannel.Actor = actor
|
||||
|
||||
const { actor: actorRefreshed, refreshed } = await retryTransactionWrapper(refreshActorIfNeeded, actor, fetchType)
|
||||
if (!actorRefreshed) throw new Error('Actor ' + actorRefreshed.url + ' does not exist anymore.')
|
||||
if (!actorRefreshed) throw new Error('Actor ' + actor.url + ' does not exist anymore.')
|
||||
|
||||
if ((created === true || refreshed === true) && updateCollections === true) {
|
||||
const payload = { uri: actor.outboxUrl, type: 'activity' as 'activity' }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue