fix: eslint errors

This commit is contained in:
Robin Wong
2022-09-18 08:44:43 +00:00
parent ee3ee485ba
commit 453845fb14

View File

@@ -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)