diff options
Diffstat (limited to 'server/lib/activitypub/playlist.ts')
-rw-r--r-- | server/lib/activitypub/playlist.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/activitypub/playlist.ts b/server/lib/activitypub/playlist.ts index 53298e968..d5a3ef7c8 100644 --- a/server/lib/activitypub/playlist.ts +++ b/server/lib/activitypub/playlist.ts | |||
@@ -103,7 +103,7 @@ async function createOrUpdateVideoPlaylist (playlistObject: PlaylistObject, byAc | |||
103 | 103 | ||
104 | if (playlistObject.icon) { | 104 | if (playlistObject.icon) { |
105 | try { | 105 | try { |
106 | const thumbnailModel = await createPlaylistMiniatureFromUrl(playlistObject.icon.url, refreshedPlaylist) | 106 | const thumbnailModel = await createPlaylistMiniatureFromUrl({ downloadUrl: playlistObject.icon.url, playlist: refreshedPlaylist }) |
107 | await refreshedPlaylist.setAndSaveThumbnail(thumbnailModel, undefined) | 107 | await refreshedPlaylist.setAndSaveThumbnail(thumbnailModel, undefined) |
108 | } catch (err) { | 108 | } catch (err) { |
109 | logger.warn('Cannot generate thumbnail of %s.', playlistObject.id, { err }) | 109 | logger.warn('Cannot generate thumbnail of %s.', playlistObject.id, { err }) |