Skip to content

Commit

Permalink
Chore: Add status code to desynced_session_state payload
Browse files Browse the repository at this point in the history
  • Loading branch information
ohansFavour committed Jul 15, 2024
1 parent f3c536a commit 1e91a26
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions v2/src/components/httpNetworking.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit 1e91a26

Please sign in to comment.