Skip to content

Commit

Permalink
Fix imports
Browse files Browse the repository at this point in the history
  • Loading branch information
Clarity-89 committed Mar 12, 2022
1 parent c1b4ca4 commit 2d3b80f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/DataSource.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ import {
MutableDataFrame,
TimeRange,
} from '@grafana/data';
import { config } from '@grafana/runtime';
import { BackendSrv as BackendService } from '@grafana/runtime';
import { BackendSrv, config } from '@grafana/runtime';
import { CandleQuery, defaultQuery, MyDataSourceOptions, MyQuery, QueryParams, TargetType } from './types';
import { ensureArray, getTargetType } from './utils';
import { candleFields } from './constants';
Expand All @@ -30,7 +29,7 @@ export class DataSource extends DataSourceApi<MyQuery, MyDataSourceOptions> {
url?: string;

/** @ngInject */
constructor(instanceSettings: DataSourceInstanceSettings<MyDataSourceOptions>, private backendSrv: BackendService) {
constructor(instanceSettings: DataSourceInstanceSettings<MyDataSourceOptions>, private backendSrv: BackendSrv) {
super(instanceSettings);
this.dataSourceName = instanceSettings.name;
this.url = instanceSettings.url;
Expand Down

0 comments on commit 2d3b80f

Please sign in to comment.