mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-08 17:18:48 +00:00
Fix merge issue
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
parent
8e840c7d3c
commit
00783a19dd
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user