diff options
Diffstat (limited to 'server/lib/activitypub/videos/get.ts')
-rw-r--r-- | server/lib/activitypub/videos/get.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/activitypub/videos/get.ts b/server/lib/activitypub/videos/get.ts index b74df132c..14ba55034 100644 --- a/server/lib/activitypub/videos/get.ts +++ b/server/lib/activitypub/videos/get.ts | |||
@@ -107,7 +107,7 @@ async function scheduleRefresh (video: MVideoThumbnail, fetchType: VideoLoadByUr | |||
107 | return refreshVideoIfNeeded(refreshOptions) | 107 | return refreshVideoIfNeeded(refreshOptions) |
108 | } | 108 | } |
109 | 109 | ||
110 | await JobQueue.Instance.createJobWithPromise({ | 110 | await JobQueue.Instance.createJob({ |
111 | type: 'activitypub-refresher', | 111 | type: 'activitypub-refresher', |
112 | payload: { type: 'video', url: video.url } | 112 | payload: { type: 'video', url: video.url } |
113 | }) | 113 | }) |