From 1e91a267d004371e5c87db6307a10b5e1cf8a7a4 Mon Sep 17 00:00:00 2001 From: Favour Ohans Date: Mon, 15 Jul 2024 14:29:21 +0100 Subject: [PATCH] Chore: Add status code to desynced_session_state payload --- v2/src/components/httpNetworking.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/v2/src/components/httpNetworking.ts b/v2/src/components/httpNetworking.ts index 0e837ca91..ca32c720d 100644 --- a/v2/src/components/httpNetworking.ts +++ b/v2/src/components/httpNetworking.ts @@ -256,6 +256,7 @@ function getCookieValue(cookieName: string) { const payload = { didFrontTokenExistBeforeAPICall, stLastAccessTokenUpdate: getCookieValue("st-last-access-token-update"), + statusCode: 200 }; getAnalytics().then((stAnalytics: any) => { if (stAnalytics === undefined) { @@ -283,6 +284,7 @@ function getCookieValue(cookieName: string) { const payload = { didFrontTokenExistBeforeAPICall, stLastAccessTokenUpdate: getCookieValue("st-last-access-token-update"), + statusCode: 401 }; getAnalytics().then((stAnalytics: any) => { if (stAnalytics === undefined) {