Commit ab76864e by David Kaltschmidt

hot-fix ifql testdatasource()

parent 5ed2880a
......@@ -157,7 +157,7 @@ export default class InfluxDatasource {
return this._influxRequest('POST', '/v1/query', { q: query })
.then(res => {
if (res && res.trim()) {
if (res && res.data && res.data.trim()) {
return { status: 'success', message: 'Data source connected and database found.' };
}
return {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment