Only send one response

This commit is contained in:
Ian Philips 2022-09-30 16:12:35 -06:00
parent f4f63e72d8
commit 1efd6ec3d3

View File

@ -205,10 +205,9 @@ export const unsubscribe: EndpointDefinition = {
</body>
</html>`
)
}
res.send(
`
} else {
res.send(
`
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml"
xmlns:o="urn:schemas-microsoft-com:office:office">
@ -389,7 +388,8 @@ export const unsubscribe: EndpointDefinition = {
</body>
</html>
`
)
)
}
},
}