Skip to content

Commit 9efa225

Browse files
committed
fix lint on get_tools_version
1 parent dbffc50 commit 9efa225

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

packages/backend/src/graphql.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,4 +156,4 @@ export const executeGraphQLQuery = async <T = any>(
156156
error: `Failed to execute GraphQL query: ${errorMessage}`,
157157
};
158158
}
159-
};
159+
};

packages/backend/src/handlers.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import { tools_version } from "./tools";
12
import {
23
create_filter_preset,
34
delete_filter_preset,
@@ -48,10 +49,9 @@ import {
4849
get_websocket_message_count,
4950
list_websocket_streams,
5051
} from "./tools_handlers/websockets";
51-
import { tools_version } from "./tools";
5252

5353
// Handler for getting tools version
54-
const get_tools_version = async () => {
54+
const get_tools_version = () => {
5555
return {
5656
success: true,
5757
version: tools_version,

packages/backend/src/tools_handlers/replay.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
import type { SDK } from "caido:plugin";
22

3-
import {
4-
executeGraphQLQuery,
5-
} from "../graphql";
3+
import { executeGraphQLQuery } from "../graphql";
64
import {
75
CREATE_REPLAY_SESSION_COLLECTION_MUTATION,
86
getDefaultReplayCollectionsQuery,

0 commit comments

Comments
 (0)