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:
parent
8e13fa7d09
commit
8e10cf1a5a
12 changed files with 59 additions and 44 deletions
|
@ -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()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue