We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5aaab2a commit 0c2a9dfCopy full SHA for 0c2a9df
src/utils/logger.ts
@@ -16,7 +16,7 @@ morgan.token('graphql-operation', (req: express.Request) => {
16
const isMutation = req.body.query.includes('mutation');
17
18
const effect = isMutation ? Effect.ForegroundRed : Effect.ForegroundMagenta;
19
- const prefix = sgr(isMutation ? 'Mutation' : 'Query', effect);
+ const prefix = sgr(isMutation ? 'mutation' : 'query', effect);
20
21
if (match && match[1]) {
22
return prefix + ' ' + sgr(sgr(match[1], effect), Effect.Bold);
0 commit comments