Skip to content

Commit

Permalink
fixed linter issue
Browse files Browse the repository at this point in the history
Signed-off-by: sumukhswamy <[email protected]>
  • Loading branch information
sumukhswamy committed May 17, 2024
1 parent 35f4eaf commit bfd0aac
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions server/routes/query.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ import { schema } from '@osd/config-schema';
import {

Check failure on line 7 in server/routes/query.ts

View workflow job for this annotation

GitHub Actions / Lint

Replace `⏎··IOpenSearchDashboardsResponse,⏎··IRouter,⏎··ResponseError⏎` with `·IOpenSearchDashboardsResponse,·IRouter,·ResponseError·`
IOpenSearchDashboardsResponse,
IRouter,
OpenSearchServiceSetup,
ResponseError,
ResponseError
} from '../../../../src/core/server';
import QueryService from '../services/QueryService';
import {
Expand All @@ -28,7 +27,6 @@ import {
export default function query(

Check failure on line 27 in server/routes/query.ts

View workflow job for this annotation

GitHub Actions / Lint

Prefer named exports

Check failure on line 27 in server/routes/query.ts

View workflow job for this annotation

GitHub Actions / Lint

Replace `⏎··server:·IRouter,⏎··service:·QueryService,⏎` with `server:·IRouter,·service:·QueryService`
server: IRouter,
service: QueryService,
openSearchServiceSetup: OpenSearchServiceSetup
) {
server.post(
{
Expand Down

0 comments on commit bfd0aac

Please sign in to comment.