Trying to fix async/await issue
This commit is contained in:
parent
167ac33604
commit
6c5fdce9db
|
@ -16,7 +16,7 @@ const rateLimitMiddleware = middleware(async (opts) => {
|
|||
});
|
||||
}
|
||||
|
||||
return await opts.next();
|
||||
return opts.next();
|
||||
});
|
||||
|
||||
export default rateLimitMiddleware;
|
||||
|
|
Loading…
Reference in New Issue
Block a user