We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6d8bd5b commit 5057c07Copy full SHA for 5057c07
server/utils/helpers.ts
@@ -23,6 +23,7 @@ import { MIN_IN_MILLI_SECS } from './constants';
23
import {
24
LegacyCallAPIOptions,
25
OpenSearchDashboardsRequest,
26
+ RequestHandlerContext,
27
} from '../../../../src/core/server';
28
29
export const SHOW_DECIMAL_NUMBER_THRESHOLD = 0.01;
@@ -87,7 +88,7 @@ export const prettifyErrorMessage = (rawErrorMessage: string) => {
87
88
};
89
90
export function getClientBasedOnDataSource(
- context: any,
91
+ context: RequestHandlerContext,
92
dataSourceEnabled: boolean,
93
request: OpenSearchDashboardsRequest,
94
dataSourceId: string,
0 commit comments