mirror of
https://github.com/vale981/apollo-server
synced 2025-03-06 10:11:40 -05:00
feat: Fix linting issue#636
This commit is contained in:
parent
9d22b2f725
commit
890155672c
1 changed files with 3 additions and 5 deletions
|
@ -41,7 +41,7 @@ export class ApolloServer extends ApolloServerBase {
|
|||
|
||||
await app.addHook(
|
||||
'preHandler',
|
||||
function (
|
||||
function(
|
||||
this: any,
|
||||
request: any,
|
||||
reply: FastifyReply<OutgoingMessage>,
|
||||
|
@ -70,9 +70,7 @@ export class ApolloServer extends ApolloServerBase {
|
|||
|
||||
reply
|
||||
.type('text/html')
|
||||
.send(
|
||||
renderPlaygroundPage(playgroundRenderPageOptions)
|
||||
);
|
||||
.send(renderPlaygroundPage(playgroundRenderPageOptions));
|
||||
}
|
||||
}
|
||||
return next();
|
||||
|
@ -89,7 +87,7 @@ export class ApolloServer extends ApolloServerBase {
|
|||
'PATCH',
|
||||
] as fastify.HTTPMethod[],
|
||||
url: '/.well-known/apollo/server-health',
|
||||
handler: async function (
|
||||
handler: async function(
|
||||
request: any,
|
||||
reply: FastifyReply<OutgoingMessage>,
|
||||
) {
|
||||
|
|
Loading…
Add table
Reference in a new issue