From ad76ec06e0c72b04372519f4d73890e242217dcb Mon Sep 17 00:00:00 2001 From: nathalia45 Date: Fri, 23 Jul 2021 15:07:23 -0300 Subject: [PATCH] Fix extra semicolon --- backend/src/infra/api/server.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/src/infra/api/server.js b/backend/src/infra/api/server.js index b0d97f14..d744f1b5 100644 --- a/backend/src/infra/api/server.js +++ b/backend/src/infra/api/server.js @@ -42,7 +42,7 @@ class ServerAPI { rest() { this.app.use((req, res, next) => { - req.user = user; + req.user = user next() }) this.app.use(express.json()) @@ -82,4 +82,4 @@ class ServerAPI { } } -module.exports = new ServerAPI(express()) \ No newline at end of file +module.exports = new ServerAPI(express())