Only send one response
This commit is contained in:
parent
f4f63e72d8
commit
1efd6ec3d3
|
@ -205,8 +205,7 @@ export const unsubscribe: EndpointDefinition = {
|
||||||
</body>
|
</body>
|
||||||
</html>`
|
</html>`
|
||||||
)
|
)
|
||||||
}
|
} else {
|
||||||
|
|
||||||
res.send(
|
res.send(
|
||||||
`
|
`
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
|
@ -390,6 +389,7 @@ export const unsubscribe: EndpointDefinition = {
|
||||||
</html>
|
</html>
|
||||||
`
|
`
|
||||||
)
|
)
|
||||||
|
}
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user