From 04221c94242277363577d679a9524c857cc8b7e0 Mon Sep 17 00:00:00 2001 From: Felix Mosheev <9304194+felixmosh@users.noreply.github.com> Date: Thu, 27 May 2021 12:59:05 +0300 Subject: [PATCH] Fix type issue --- src/routes/apiRouter.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/apiRouter.ts b/src/routes/apiRouter.ts index c5d24610..2fe43afb 100644 --- a/src/routes/apiRouter.ts +++ b/src/routes/apiRouter.ts @@ -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))