diff options
Diffstat (limited to 'server/controllers')
-rw-r--r-- | server/controllers/api/search.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/controllers/api/search.ts b/server/controllers/api/search.ts index ea3166f5f..fd4db7a54 100644 --- a/server/controllers/api/search.ts +++ b/server/controllers/api/search.ts | |||
@@ -89,7 +89,7 @@ async function searchVideoChannelURI (search: string, isWebfingerSearch: boolean | |||
89 | 89 | ||
90 | if (isUserAbleToSearchRemoteURI(res)) { | 90 | if (isUserAbleToSearchRemoteURI(res)) { |
91 | try { | 91 | try { |
92 | const actor = await getOrCreateActorAndServerAndModel(uri, true, true) | 92 | const actor = await getOrCreateActorAndServerAndModel(uri, 'all', true, true) |
93 | videoChannel = actor.VideoChannel | 93 | videoChannel = actor.VideoChannel |
94 | } catch (err) { | 94 | } catch (err) { |
95 | logger.info('Cannot search remote video channel %s.', uri, { err }) | 95 | logger.info('Cannot search remote video channel %s.', uri, { err }) |