Skip to content

Commit 1e91a26

Browse files
committed
Chore: Add status code to desynced_session_state payload
1 parent f3c536a commit 1e91a26

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

v2/src/components/httpNetworking.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,7 @@ function getCookieValue(cookieName: string) {
256256
const payload = {
257257
didFrontTokenExistBeforeAPICall,
258258
stLastAccessTokenUpdate: getCookieValue("st-last-access-token-update"),
259+
statusCode: 200
259260
};
260261
getAnalytics().then((stAnalytics: any) => {
261262
if (stAnalytics === undefined) {
@@ -283,6 +284,7 @@ function getCookieValue(cookieName: string) {
283284
const payload = {
284285
didFrontTokenExistBeforeAPICall,
285286
stLastAccessTokenUpdate: getCookieValue("st-last-access-token-update"),
287+
statusCode: 401
286288
};
287289
getAnalytics().then((stAnalytics: any) => {
288290
if (stAnalytics === undefined) {

0 commit comments

Comments
 (0)