Skip to content

Commit

Permalink
Revert(core): revert - remove session_id check to determine when to c…
Browse files Browse the repository at this point in the history
…all v1/open

This reverts commit 85a728b.
  • Loading branch information
JagadeeshKaricherla-branch authored Dec 19, 2023
1 parent 7b666e8 commit 78dcb08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/6_branch.js
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,7 @@ Branch.prototype['init'] = wrap(
}
}
};
if (sessionData && !link_identifier && !utils.getParamValue('branchify_url')) {
if (sessionData && sessionData['session_id'] && !link_identifier && !utils.getParamValue('branchify_url')) {
// resets data in session storage to prevent previous link click data from being returned to Branch.init()
session.update(self._storage, { "data": "" });
session.update(self._storage, { "referring_link": "" });
Expand Down

0 comments on commit 78dcb08

Please sign in to comment.