mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
Update server dependencies
This commit is contained in:
@@ -36,8 +36,8 @@ export {
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
async function listJobs (req: express.Request, res: express.Response, next: express.NextFunction) {
|
||||
const state: JobState = req.params.state
|
||||
async function listJobs (req: express.Request, res: express.Response) {
|
||||
const state = req.params.state as JobState
|
||||
const asc = req.query.sort === 'createdAt'
|
||||
|
||||
const jobs = await JobQueue.Instance.listForApi(state, req.query.start, req.query.count, asc)
|
||||
|
||||
Reference in New Issue
Block a user