From a5bbe586d473203f3c80d0b073888731059e86ff Mon Sep 17 00:00:00 2001 From: Evgenii Abramov Date: Sat, 20 Mar 2021 22:29:16 +0300 Subject: [PATCH] Some refactoring --- routes/client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/client.js b/routes/client.js index f2b0821..215ad7b 100644 --- a/routes/client.js +++ b/routes/client.js @@ -8,6 +8,6 @@ module.exports.info = [ // `BearerStrategy`. It is typically used to indicate scope of the token, // and used in access control checks. For illustrative purposes, this // example simply returns the scope in the response. - res.json({ client_id: req.user.id, name: req.user.name, scope: req.authInfo.scope }); + res.json({client_id: req.user.id, name: req.user.name, scope: req.authInfo.scope}); } ];