8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a13fcd commit 39af55dCopy full SHA for 39af55d
web-app/src/services/apollo/index.ts
@@ -1,16 +1,16 @@
1
-import ApolloClient, { InMemoryCache } from 'apollo-boost'
+import ApolloClient, {InMemoryCache} from 'apollo-boost'
2
3
import typeDefs from './typeDefs'
4
import resolvers from './resolvers'
5
6
const client = new ApolloClient({
7
- uri: process.env.REACT_APP_GQL_URI,
8
- headers: {
9
- Authorization: process.env.GQL_AUTH_TOKEN,
10
- },
11
- cache: new InMemoryCache(),
12
- typeDefs,
13
- resolvers,
+ uri: process.env.REACT_APP_GQL_URI,
+ headers: {
+ Authorization: process.env.REACT_APP_GQL_AUTH_TOKEN,
+ },
+ cache: new InMemoryCache(),
+ typeDefs,
+ resolvers,
14
})
15
16
export default client
0 commit comments