aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib
diff options
context:
space:
mode:
Diffstat (limited to 'server/lib')
-rw-r--r--server/lib/activitypub/playlists/get.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/activitypub/playlists/get.ts b/server/lib/activitypub/playlists/get.ts
index 2c19c503a..be8456b19 100644
--- a/server/lib/activitypub/playlists/get.ts
+++ b/server/lib/activitypub/playlists/get.ts
@@ -20,7 +20,7 @@ async function getOrCreateAPVideoPlaylist (playlistObjectArg: APObject): Promise
20 const { playlistObject } = await fetchRemoteVideoPlaylist(playlistUrl) 20 const { playlistObject } = await fetchRemoteVideoPlaylist(playlistUrl)
21 if (!playlistObject) throw new Error('Cannot fetch remote playlist with url: ' + playlistUrl) 21 if (!playlistObject) throw new Error('Cannot fetch remote playlist with url: ' + playlistUrl)
22 22
23 // playlistUrl is just an alias/rediraction, so process object id instead 23 // playlistUrl is just an alias/redirection, so process object id instead
24 if (playlistObject.id !== playlistUrl) return getOrCreateAPVideoPlaylist(playlistObject) 24 if (playlistObject.id !== playlistUrl) return getOrCreateAPVideoPlaylist(playlistObject)
25 25
26 const playlistCreated = await createOrUpdateVideoPlaylist(playlistObject) 26 const playlistCreated = await createOrUpdateVideoPlaylist(playlistObject)