Untitled

mail@pastecode.io avatar
unknown
javascript
a year ago
321 B
1
Indexable
const getExecQueryNoReq = () => async (query, variables) => {
  console.log('B');
  try {
    const response = await graphqlServer.executeOperation({
      query: query,
      variables: variables,
    }, {
      contextValue: context({}),
    });
    return response;
  } catch(e) {
    console.log('ERROR = ', e);
  }
}