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
…#37)

Signed-off-by: David Cui <[email protected]>
  • Loading branch information
davidcui1225 authored and zhongnansu committed May 11, 2021
1 parent 7918b18 commit 5ff8a41
Showing 1 changed file with 2 additions and 2 deletions.
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 5ff8a41

Please sign in to comment.