mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 00:23:53 +00:00
chore: revert unrelated changes
This commit is contained in:
parent
5af5a8696a
commit
6edc2731da
@ -121,10 +121,10 @@ export const defineWrappedResponseHandler = <T extends EventHandlerRequest, D> (
|
||||
// do something before the route handler
|
||||
const response = await handler(event)
|
||||
// do something after the route handler
|
||||
return response
|
||||
return { response }
|
||||
} catch (err) {
|
||||
// Error handling
|
||||
return err
|
||||
return { err }
|
||||
}
|
||||
})
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user