message: refactor: request
diff: @@ -4,6 +4,15 @@ import { ASTNode } from 'graphql'
  import { GraphQLClient } from 'graphql-request'
  import { Variables } from 'graphql-request/dist/src/types'
  import { print } from 'graphql/language/printer'
  +
  +const client = new GraphQLClient(APPLICATION.HASURA_ENDPOINT, {
  + get headers() {
  + return APPLICATION.HASURA_GRAPHQL_ADMIN_SECRET
  + ? { 'x-hasura-admin-secret': APPLICATION.HASURA_GRAPHQL_ADMIN_SECRET }
  + : undefined
  + }
  +})
  +
  /**
  * To take advantage of syntax highlighting and auto-formatting
  * for GraphQL template literal tags (`gql`) in `src/utils/queries.ts`,
  @@ -15,12 +24,6 @@ export async function request<T extends unknown>(
  query: ASTNode,
  variables?: Variables
  ): Promise<T> {
  - const client = new GraphQLClient(APPLICATION.HASURA_ENDPOINT, {
  - headers: APPLICATION.HASURA_GRAPHQL_ADMIN_SECRET
  - ? { 'x-hasura-admin-secret': APPLICATION.HASURA_GRAPHQL_ADMIN_SECRET }
  - : undefined
  - })
  -
  try {
  return (await client.request(print(query), variables)) as T
  } catch (err) {
  