datasources: query-service url fix (#105178)

This commit is contained in:
Gábor Farkas authored and GitHub committed 2025-05-13 09:36:20 +02:00
1 parent 242cb8edbd
commit 98df41235d
1 file changed
+1 -1
@@ -226,7 +226,7 @@ class DataSourceWithBackend<
if (!hasExpr && dsUIDs.size === 1) {
// TODO? can we talk directly to the apiserver?
}
url = `/apis/query.grafana.app/v0alpha1/namespaces/${config.namespace}/query?ds_type=' + this.type`;
url = `/apis/query.grafana.app/v0alpha1/namespaces/${config.namespace}/query?ds_type=${this.type}`;
}
}