eslint fixes

This commit is contained in:
wobsoriano
2022-11-05 11:56:14 -07:00
parent e9081d00ad
commit e359702c41
7 changed files with 25 additions and 25 deletions

View File

@@ -8,12 +8,12 @@ export default createNuxtApiHandler({
* @link https://trpc.io/docs/context
*/
createContext,
onError({ error }) {
onError ({ error }) {
if (error.code === 'INTERNAL_SERVER_ERROR') {
// send to bug reporting
console.error('Something went wrong', error)
}
},
}
/**
* @link https://trpc.io/docs/caching#api-response-caching
*/