Skip to content

Commit

Permalink
fix(thrift-server-hapi): Fix naming of plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
kevin-greene-ck committed Mar 13, 2018
1 parent bab11e9 commit d288caf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/thrift-server-hapi/src/main/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export function createThriftServer<TProcessor extends IThriftProcessor<Hapi.Requ
* thrift / REST endpoints on the same server instance.
*/
server.register(
thirftServerHapi<TProcessor>({
ThriftServerHapi<TProcessor>({
path: options.path,
thriftOptions: options.thriftOptions,
}),
Expand All @@ -70,7 +70,7 @@ export function createThriftServer<TProcessor extends IThriftProcessor<Hapi.Requ
*
* @param pluginOptions
*/
export function thirftServerHapi<TProcessor extends IThriftProcessor<Hapi.Request>>(
export function ThriftServerHapi<TProcessor extends IThriftProcessor<Hapi.Request>>(
pluginOptions: IHapiPluginOptions<TProcessor>,
): ThriftHapiPlugin {
const hapiThriftPlugin: ThriftHapiPlugin = {
Expand Down

0 comments on commit d288caf

Please sign in to comment.