mirror of
https://github.com/ArthurDanjou/trpc-nuxt.git
synced 2026-01-14 12:14:40 +01:00
fix: eslint errors
This commit is contained in:
@@ -20,11 +20,11 @@ export default defineNuxtPlugin((nuxtApp) => {
|
||||
...headers,
|
||||
}
|
||||
},
|
||||
fetch: (input, options) =>
|
||||
fetch: (input, options) =>
|
||||
globalThis.$fetch.raw(input.toString(), options).then(response => ({
|
||||
...response,
|
||||
json: () => Promise.resolve(response._data),
|
||||
}))
|
||||
})),
|
||||
})
|
||||
|
||||
nuxtApp.provide('client', client)
|
||||
|
||||
Reference in New Issue
Block a user