mirror of
https://github.com/ershisan99/flashcards-example-project.git
synced 2025-12-19 20:59:26 +00:00
chore: lint with tabwidth: 2
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
import { createApi, fetchBaseQuery } from '@reduxjs/toolkit/query/react'
|
||||
|
||||
export const baseApi = createApi({
|
||||
baseQuery: fetchBaseQuery({
|
||||
baseUrl: 'https://api.flashcards.andrii.es',
|
||||
credentials: 'include',
|
||||
prepareHeaders: headers => {
|
||||
headers.append('x-auth-skip', 'true')
|
||||
},
|
||||
}),
|
||||
endpoints: () => ({}),
|
||||
reducerPath: 'baseApi',
|
||||
tagTypes: ['Decks'],
|
||||
baseQuery: fetchBaseQuery({
|
||||
baseUrl: 'https://api.flashcards.andrii.es',
|
||||
credentials: 'include',
|
||||
prepareHeaders: headers => {
|
||||
headers.append('x-auth-skip', 'true')
|
||||
},
|
||||
}),
|
||||
endpoints: () => ({}),
|
||||
reducerPath: 'baseApi',
|
||||
tagTypes: ['Decks'],
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user