fix(ui): send actual source version to flux proxy to to have actual flux detection

pull/5724/head
Pavel Zavora 2021-04-14 07:38:26 +02:00
parent 9ea26d5bb1
commit edd0bb7f70
1 changed files with 1 additions and 1 deletions

View File

@ -127,7 +127,7 @@ export const executeQuery = async (
xhr.onerror = reject
const path = encodeURIComponent(`/api/v2/query?organization=defaultorgname`)
const url = `${window.basepath}${source.links.flux}?path=${path}`
const url = `${window.basepath}${source.links.flux}?version=${source.version}&path=${path}`
const dialect = {annotations: ['group', 'datatype', 'default']}
const body = JSON.stringify({query, dialect})