Untitled
unknown
javascript
2 years ago
321 B
8
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);
}
}Editor is loading...