Chore: Remove any type assertion in PanelQueryRunner (#60096)

This commit is contained in:
Josh Hunt
2022-12-14 14:07:22 +00:00
committed by GitHub
parent 6f64dd533f
commit af719888d6
2 changed files with 2 additions and 6 deletions

View File

@@ -239,11 +239,9 @@ export class PanelQueryRunner {
scopedVars: scopedVars || {},
cacheTimeout,
startTime: Date.now(),
rangeRaw: timeRange.raw,
};
// Add deprecated property
(request as any).rangeRaw = timeRange.raw;
try {
const ds = await getDataSource(datasource, request.scopedVars, publicDashboardAccessToken);
const isMixedDS = ds.meta?.mixed;