Files
JJ KasperandJoe Haddad 14ca20d0d5 Add warning when API resolves without the request being finished (#9999)
* Add error when API resolves without the request being finished

* Update to only show warning in development instead

* Update packages/next/next-server/server/api-utils.ts

Co-authored-by: Joe Haddad <[email protected]>
2020-01-10 10:56:20 -05:00

5 lines
65 B
JavaScript

export default (req, res) => {
console.log('hi')
return {}
}