Loki: Remove unnecessary type extension (#64883)

remove unnecessary type extension
This commit is contained in:
Sven Grossmann authored and GitHub committed 2023-03-16 11:28:40 +01:00
1 parent b19f7bb653
commit 652e7334c8
1 file changed
+1 -1
@@ -257,7 +257,7 @@ export class LokiDatasource
.map(getNormalizedLokiQuery) // "fix" the `.queryType` prop
.map((q) => ({ ...q, maxLines: q.maxLines ?? this.maxLines }));
const fixedRequest: DataQueryRequest<LokiQuery> & { targets: LokiQuery[] } = {
const fixedRequest: DataQueryRequest<LokiQuery> = {
...request,
targets: queries,
};