Skip to content

Commit 71a52a0

Browse files
committed
imp(resolver): docs improved
1 parent 1e78a1f commit 71a52a0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/resolvers/projectPatterns.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ export default {
7474
}
7575
});
7676

77-
return await project.createProjectEventGroupingPattern({ pattern: input.pattern });
77+
return project.createProjectEventGroupingPattern({ pattern: input.pattern });
7878
},
7979

8080
/**
@@ -105,7 +105,7 @@ export default {
105105
}
106106
});
107107

108-
return await project.updateProjectEventGroupingPattern(input);
108+
return project.updateProjectEventGroupingPattern(input);
109109
},
110110

111111
/**
@@ -116,7 +116,7 @@ export default {
116116
* @param input - input data for creating
117117
*/
118118
async removeProjectEventGroupingPattern(
119-
obj: undefined,
119+
_obj: undefined,
120120
{ input }: { input: RemoveProjectPatternMutationPayload },
121121
{ user, factories }: ResolverContextWithUser
122122
): Promise<ProjectEventGroupingPatternsDBScheme> {
@@ -126,7 +126,7 @@ export default {
126126
throw new ApolloError('No project with such id');
127127
}
128128

129-
return await project.removeProjectEventGroupingPattern({ id: input.id });
129+
return project.removeProjectEventGroupingPattern({ id: input.id });
130130
},
131131
},
132132
};

0 commit comments

Comments
 (0)