import { GraphQLClient } from 'graphql-request' ; import config from "../../config" ; const API_URL = config . domainApiGraphql || "" ; const API_TOKEN = config . apiGraphqlToken || "" ; export default new GraphQLClient ( API_URL , { headers : { authorization : `Bearer ${ API_TOKEN }` } } ) ;