build: add name to components which failed lint check

This commit is contained in:
2021-11-19 21:44:36 +01:00
parent 9af6f37d74
commit 0b8f77372f
19 changed files with 69 additions and 249 deletions
+3 -3
View File
@@ -22,13 +22,13 @@ const httpLink = createHttpLink({
uri: apiUrl
})
const getToken = async options => {
const getToken = async (options) => {
const { getTokenSilently } = useAuth()
return getTokenSilently.value(options)
}
const authLink = setContext(async (_, { headers }) => {
return getToken().then(token => ({
return getToken().then((token) => ({
headers: {
...headers,
authorization: token ? `Bearer ${token}` : ''
@@ -52,7 +52,7 @@ const instance = new ApolloClient({
}
})
export default function ({app}) {
export default function ({ app }) {
app.setup = () => {
provide(DefaultApolloClient, instance)
}