Skip to content

Commit

Permalink
replace osd-version header to remove need for version number matching (
Browse files Browse the repository at this point in the history
…opensearch-project#37)

Signed-off-by: David Cui <davidcui@amazon.com>
  • Loading branch information
davidcui1225 committed May 10, 2021
1 parent 457539b commit 5af20f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions public/components/context_menu/context_menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down Expand Up @@ -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',
Expand Down

0 comments on commit 5af20f5

Please sign in to comment.