mirror of
https://github.com/lasthead0/yandex2mqtt.git
synced 2025-08-07 08:40:29 +03:00
Some refactoring
This commit is contained in:
@@ -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});
|
||||
}
|
||||
];
|
||||
|
Reference in New Issue
Block a user