Skip to content

Commit

Permalink
added linter fix
Browse files Browse the repository at this point in the history
Signed-off-by: sumukhswamy <[email protected]>
  • Loading branch information
sumukhswamy committed May 23, 2024
1 parent 7a2c7a2 commit a4b91a5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion server/routes/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {
} from '../../../../src/core/server';
import QueryService from '../services/QueryService';
import TranslateService from '../services/TranslateService';
import registerQueryRoute from './query';
import { registerQueryRoute } from './query';
import registerTranslateRoute from './translate';

export function defineRoutes(
Expand Down
2 changes: 1 addition & 1 deletion server/routes/query.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import {
ROUTE_PATH_SQL_TEXT,
} from '../utils/constants';

export default function query(server: IRouter, service: QueryService) {
export function registerQueryRoute(server: IRouter, service: QueryService) {
server.post(
{
path: ROUTE_PATH_SQL_QUERY,
Expand Down

0 comments on commit a4b91a5

Please sign in to comment.