diff --git a/dashboards-reports/public/components/context_menu/context_menu.js b/dashboards-reports/public/components/context_menu/context_menu.js index 9465a6b2..c3c4e0d2 100644 --- a/dashboards-reports/public/components/context_menu/context_menu.js +++ b/dashboards-reports/public/components/context_menu/context_menu.js @@ -126,7 +126,7 @@ const generateInContextReport = async ( { headers: { 'Content-Type': 'application/json', - 'osd-version': '1.0.0-beta1', + 'osd-xsrf': 'reporting', accept: '*/*', 'accept-language': 'en-US,en;q=0.9,zh-CN;q=0.8,zh;q=0.7,zh-TW;q=0.6', pragma: 'no-cache', @@ -340,7 +340,7 @@ async function getTenantInfoIfExists() { const res = await fetch(`../api/v1/multitenancy/tenant`, { headers: { 'Content-Type': 'application/json', - 'osd-version': '1.0.0-beta1', + 'osd-xsrf': 'reporting', accept: '*/*', 'accept-language': 'en-US,en;q=0.9,zh-CN;q=0.8,zh;q=0.7,zh-TW;q=0.6', pragma: 'no-cache',