1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-05 02:39:33 +02:00

Fix video upload and videos list

This commit is contained in:
Chocobozzz 2017-11-15 16:28:35 +01:00
parent 8e13fa7d09
commit 8e10cf1a5a
No known key found for this signature in database
GPG key ID: 583A612D890159BE
12 changed files with 59 additions and 44 deletions

View file

@ -108,7 +108,11 @@ async function follow (req: express.Request, res: express.Response, next: expres
tasks.push(p)
}
await Promise.all(tasks)
// Don't make the client wait the tasks
Promise.all(tasks)
.catch(err => {
logger.error('Error in follow.', err)
})
return res.status(204).end()
}