refs #6264 perf: remove async keyword
This commit is contained in:
parent
a5fb07bf12
commit
0ae75d973f
|
@ -1,5 +1,5 @@
|
|||
module.exports = function(options) {
|
||||
return async function(req, res, next) {
|
||||
return function(req, res, next) {
|
||||
if (!req.accessToken)
|
||||
return next();
|
||||
|
||||
|
|
Loading…
Reference in New Issue