Skip to content

Commit

Permalink
chore: clean
Browse files Browse the repository at this point in the history
  • Loading branch information
devthejo committed Dec 14, 2023
1 parent 2115967 commit cb3c3a6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion plugins/oa/openapi.js
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,6 @@ module.exports = async function createOpenApi(options = {}) {
Array.isArray(handlerStack) ? [...handlerStack] : [handlerStack]
).map((handler) => {
return async (req, res, next) => {
handler = await handler
try {
const result = await handler(req, res, next)
if (result && result !== res) {
Expand Down

0 comments on commit cb3c3a6

Please sign in to comment.