Skip to content

Commit

Permalink
Fix type issue
Browse files Browse the repository at this point in the history
  • Loading branch information
felixmosh committed May 27, 2021
1 parent 8936192 commit 04221c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/apiRouter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { jobProvider } from './middlewares/jobProvider';
import { queueProvider } from './middlewares/queueProvider';
import { wrapAsync } from './middlewares/wrapAsync';

export const apiRouter = Router()
export const apiRouter: Router = Router()
.get('/queues', wrapAsync(queuesHandler))
.put('/queues/:queueName/retry', queueProvider(), wrapAsync(retryAll))
.put('/queues/:queueName/:jobId/retry', [queueProvider(), jobProvider()], wrapAsync(retryJob))
Expand Down

0 comments on commit 04221c9

Please sign in to comment.