diff options
Diffstat (limited to 'server/lib/activitypub/playlists/refresh.ts')
-rw-r--r-- | server/lib/activitypub/playlists/refresh.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/activitypub/playlists/refresh.ts b/server/lib/activitypub/playlists/refresh.ts index 493e8c7ec..33260ea02 100644 --- a/server/lib/activitypub/playlists/refresh.ts +++ b/server/lib/activitypub/playlists/refresh.ts | |||
@@ -9,7 +9,7 @@ import { fetchRemoteVideoPlaylist } from './shared' | |||
9 | function scheduleRefreshIfNeeded (playlist: MVideoPlaylist) { | 9 | function scheduleRefreshIfNeeded (playlist: MVideoPlaylist) { |
10 | if (!playlist.isOutdated()) return | 10 | if (!playlist.isOutdated()) return |
11 | 11 | ||
12 | JobQueue.Instance.createJob({ type: 'activitypub-refresher', payload: { type: 'video-playlist', url: playlist.url } }) | 12 | JobQueue.Instance.createJobAsync({ type: 'activitypub-refresher', payload: { type: 'video-playlist', url: playlist.url } }) |
13 | } | 13 | } |
14 | 14 | ||
15 | async function refreshVideoPlaylistIfNeeded (videoPlaylist: MVideoPlaylistOwner): Promise<MVideoPlaylistOwner> { | 15 | async function refreshVideoPlaylistIfNeeded (videoPlaylist: MVideoPlaylistOwner): Promise<MVideoPlaylistOwner> { |