From 302c09699b723d71c94ce3f203cab4cf7883aaa4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9mie=20Astori?= Date: Wed, 9 Jun 2021 06:52:25 +0300 Subject: [PATCH] Use `getAuthRoutes` instead of `getAuthRouter` I might be reading this wrong, but it seems to me there is a typo since `getAuthRouter` doesn't exist anywhere on the repo. --- src/routes/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/routes/index.js b/src/routes/index.js index dc8d706..bed3415 100644 --- a/src/routes/index.js +++ b/src/routes/index.js @@ -1,10 +1,10 @@ import express from 'express' -import getAuthRouter from './auth' +import getAuthRoutes from './auth' import getListItemsRoutes from './list-items' function getRouter() { const router = express.Router() - router.use('/auth', getAuthRouter()) + router.use('/auth', getAuthRoutes()) router.use('/list-items', getListItemsRoutes()) return router }