Merge pull request #18018 from overleaf/revert-17906-ab-split-test-assignments-optim-pt2

Revert "[web] Store anonymous users split test assignments in new format in session"

GitOrigin-RevId: 2c1a95031a9d1d99b9dfef54eb4b80264a32ba0d
This commit is contained in:
Alexandre Bourdin
2024-04-18 19:08:33 +02:00
committed by Copybot
parent f929d8d8a8
commit 23da3d55e6
5 changed files with 169 additions and 163 deletions
@@ -492,10 +492,7 @@ function _getNonSaasAssignment(splitTestName) {
async function _getSplitTest(name) {
const splitTests = await SplitTestCache.get('')
const splitTest = splitTests?.get(name)
if (splitTest && !splitTest.archived) {
return splitTest
}
return splitTests?.get(name)
}
module.exports = {