We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e2eeb72 commit 331faaaCopy full SHA for 331faaa
src/resolvers.ts
@@ -5,12 +5,10 @@ import { Resolvers } from './resolvers-types';
5
const resolvers: Resolvers = {
6
Query: {
7
events: async (_, { input }, { db_client }) => {
8
- let fetchedEvents = await db_client.getEvents(input);
9
- return fetchedEvents;
+ return db_client.getEvents(input);
10
},
11
actions: async (_, { input }, { db_client }) => {
12
- let fetchedActions = await db_client.getActions(input);
13
- return fetchedActions;
+ return db_client.getActions(input);
14
15
16
};
0 commit comments