mirror of
https://github.com/vale981/apollo-server
synced 2025-03-06 10:11:40 -05:00
chore(hapi): fix typings rename
This commit is contained in:
parent
79458e2ebb
commit
7c0dd0eee0
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
import * as Boom from 'boom';
|
||||
import { Server, Response, Request, IReply } from 'hapi';
|
||||
import { Server, Response, Request, ReplyNoContinue } from 'hapi';
|
||||
import * as GraphiQL from 'graphql-server-module-graphiql';
|
||||
import { GraphQLOptions, runHttpQuery, HttpQueryError } from 'graphql-server-core';
|
||||
|
||||
|
@ -18,7 +18,7 @@ export interface HapiPluginOptions {
|
|||
graphqlOptions: GraphQLOptions | HapiOptionsFunction;
|
||||
}
|
||||
|
||||
function runHttpQueryWrapper(options: GraphQLOptions | HapiOptionsFunction, request: Request, reply: IReply): Promise<Response> {
|
||||
function runHttpQueryWrapper(options: GraphQLOptions | HapiOptionsFunction, request: Request, reply: ReplyNoContinue): Promise<Response> {
|
||||
return runHttpQuery([request], {
|
||||
method: request.method.toUpperCase(),
|
||||
options: options,
|
||||
|
|
Loading…
Add table
Reference in a new issue