Skip to content

Commit

Permalink
small cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
mshustov committed Jan 19, 2021
1 parent 3e50c43 commit bb08a9f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/core/server/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ export class Server {
coreSetup.http.registerRouteHandlerContext(
coreId,
'core',
async (context, req, res): Promise<RequestHandlerContext['core']> => {
(context, req, res): RequestHandlerContext['core'] => {
return new CoreRouteHandlerContext(this.coreStart!, req);
}
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,5 @@
*/

import { CorePluginRouteTimeoutsPlugin } from './plugin';
export { PluginARequestContext } from './plugin';

export const plugin = () => new CorePluginRouteTimeoutsPlugin();

0 comments on commit bb08a9f

Please sign in to comment.