Only send one response
This commit is contained in:
parent
f4f63e72d8
commit
1efd6ec3d3
|
@ -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>
|
||||
`
|
||||
)
|
||||
)
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user