Fix merge issue

Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
Andrey Sobolev 2024-10-14 17:34:03 +07:00
parent 8e840c7d3c
commit 00783a19dd
No known key found for this signature in database
GPG Key ID: BD80F68D68D8F7F2

View File

@ -209,7 +209,6 @@ export function createServer (
app.post(
'/notify',
wrapRequest(async (req, res, token) => {
ctx.info('Received notification', { email: token.email })
if (req.body == null || !Array.isArray(req.body)) {
ctx.error('Invalid request body', { body: req.body, email: token.email })
throw new ApiError(400)