]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/controllers/lazy-static.ts
Ensure to install supported plugins
[github/Chocobozzz/PeerTube.git] / server / controllers / lazy-static.ts
index 68b5c9eec2badabc911d7caf29f68297ec3c3ac4..6f71fdb164b4746c3b06096bdb412efc0e4a4515 100644 (file)
@@ -64,7 +64,7 @@ async function getActorImage (req: express.Request, res: express.Response) {
     logger.info('Lazy serve remote actor image %s.', image.fileUrl)
 
     try {
-      await pushActorImageProcessInQueue({ filename: image.filename, fileUrl: image.fileUrl })
+      await pushActorImageProcessInQueue({ filename: image.filename, fileUrl: image.fileUrl, type: image.type })
     } catch (err) {
       logger.warn('Cannot process remote actor image %s.', image.fileUrl, { err })
       return res.sendStatus(HttpStatusCode.NOT_FOUND_404)