From 6c7d68913aadfa35899ce65e612445b8a6cbc6e0 Mon Sep 17 00:00:00 2001 From: Henry Jordan Date: Wed, 8 Dec 2021 21:30:57 +0000 Subject: [PATCH] PMCORE-3471 --- resources/assets/js/api/Api.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/resources/assets/js/api/Api.js b/resources/assets/js/api/Api.js index 268b6f76b..89aa57cf5 100644 --- a/resources/assets/js/api/Api.js +++ b/resources/assets/js/api/Api.js @@ -53,6 +53,7 @@ class Api { headers: { "Accept": "application/json", "Content-Type": "application/json", + "Cache-Control": "no-cache, must-revalidate", "Authorization": `Bearer ` + credentials.accessToken, "Accept-Language": lang } @@ -76,6 +77,7 @@ class Api { headers: { "Accept": "application/json", "Content-Type": "application/json", + "Cache-Control": "no-cache, must-revalidate", "Authorization": `Bearer ` + credentials.accessToken, "Accept-Language": lang } @@ -102,6 +104,7 @@ class Api { headers: _.extend({ "Accept": "application/json", "Content-Type": "application/json", + "Cache-Control": "no-cache, must-revalidate", "Authorization": `Bearer ` + credentials.accessToken, "Accept-Language": lang }, headers) @@ -149,6 +152,7 @@ class Api { headers: { "Accept": "application/json", "Content-Type": "application/json", + "Cache-Control": "no-cache, must-revalidate", "Authorization": `Bearer ` + credentials.accessToken, "Accept-Language": lang } @@ -175,6 +179,7 @@ class Api { headers: { "Accept": "application/json", "Content-Type": "application/json", + "Cache-Control": "no-cache, must-revalidate", "Authorization": `Bearer ` + credentials.accessToken, "Accept-Language": lang } @@ -205,6 +210,7 @@ class Api { headers: { "Accept": "application/json", "Content-Type": "application/json", + "Cache-Control": "no-cache, must-revalidate", "Authorization": `Bearer ` + credentials.accessToken, "Accept-Language": lang }