Skip to content

Commit 184aa81

Browse files
committed
cleanup
1 parent 434fa55 commit 184aa81

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/handler.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -118,14 +118,8 @@ export function fastifyApolloHandler<
118118
return body.string;
119119
}
120120

121-
// eslint-disable-next-line
122121
const readable = Readable.from(body.asyncIterator);
123-
124-
// for (const [headerKey, headerValue] of headers) {
125-
// void reply.raw.setHeader(headerKey, headerValue);
126-
// }
127-
128-
// @ts-ignore
122+
// @ts-ignore something wrong with the `ReplyType` but not sure what
129123
return reply.send(readable);
130124
};
131125
}

0 commit comments

Comments
 (0)