[6.8] Use @commercial/hapi (#97605)

This commit is contained in:
Thomas Watson 2021-06-29 16:57:46 +02:00 committed by GitHub
parent d72ee43808
commit 0997f4e783
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
237 changed files with 701 additions and 507 deletions

View file

@ -4,7 +4,7 @@
* you may not use this file except in compliance with the Elastic License.
*/
import Boom from '@hapi/boom';
import Boom from '@commercial/boom';
/**
* Wraps ES errors into a Boom error response and returns it

View file

@ -5,7 +5,7 @@
*/
import expect from 'expect.js';
import Boom from '@hapi/boom';
import Boom from '@commercial/boom';
import { licensePreRoutingFactory } from '../license_pre_routing_factory';
describe('license_pre_routing_factory', () => {

View file

@ -4,7 +4,7 @@
* you may not use this file except in compliance with the Elastic License.
*/
import Boom from '@hapi/boom';
import Boom from '@commercial/boom';
import { PLUGIN } from '../../../common/constants';
export const licensePreRoutingFactory = (server) => {