We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f3de9e commit feef124Copy full SHA for feef124
app/routes/apply.js
@@ -41,17 +41,8 @@ module.exports = router => {
41
42
// Routing after the final check answers page
43
router.post('/apply/answer-check', (req, res) => {
44
- const data = req.session.data
45
- const vaccineTypes = (data.vaccineTypes || [])
46
- let nextPage
47
-
48
- if (vaccineTypes.includes('COVID-19') && data.organisationCode === 'FA02S') {
49
- nextPage = '/apply/no-contract'
50
- } else {
51
- nextPage = '/apply/check-your-email'
52
- }
53
54
- res.redirect(nextPage)
+ res.redirect('/apply/check-your-email')
55
})
56
57
// Welcome email mockup
app/views/apply/no-contract.html
0 commit comments