From b56e8336ed337f7db1d4b361acfc6188c99774c9 Mon Sep 17 00:00:00 2001 From: taina0407 Date: Tue, 30 Jul 2019 18:25:45 +0700 Subject: [PATCH] Fix bug for not import correct packages after (#3089) Fixing my stupid bug that do not import correct package name after rename accept & boom to new namespace --- packages/apollo-server-hapi/src/ApolloServer.ts | 2 +- packages/apollo-server-hapi/src/hapiApollo.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/apollo-server-hapi/src/ApolloServer.ts b/packages/apollo-server-hapi/src/ApolloServer.ts index 79c7d2dc2d8..b67e3fb946e 100644 --- a/packages/apollo-server-hapi/src/ApolloServer.ts +++ b/packages/apollo-server-hapi/src/ApolloServer.ts @@ -1,5 +1,5 @@ import hapi from 'hapi'; -import { parseAll } from 'accept'; +import { parseAll } from '@hapi/accept'; import { renderPlaygroundPage, RenderPageOptions as PlaygroundRenderPageOptions, diff --git a/packages/apollo-server-hapi/src/hapiApollo.ts b/packages/apollo-server-hapi/src/hapiApollo.ts index 6cf75bf1352..24162235e3d 100644 --- a/packages/apollo-server-hapi/src/hapiApollo.ts +++ b/packages/apollo-server-hapi/src/hapiApollo.ts @@ -1,4 +1,4 @@ -import Boom from 'boom'; +import Boom from '@hapi/boom'; import { Server, Request, RouteOptions } from 'hapi'; import { GraphQLOptions,