aboutsummaryrefslogtreecommitdiff
path: root/vnext/server/middleware
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2022-10-30 01:40:44 +0300
committerGravatar Vitaly Takmazov2023-01-13 10:37:58 +0300
commit62f9875418444274c8aa3785ea913677c203e840 (patch)
tree55b2592103c25f0f58cdb95306c2f7c49f01040f /vnext/server/middleware
parent11c8ffc1248edeba1ed9de6221aaf9ef1df75f23 (diff)
Fix routes usage
Diffstat (limited to 'vnext/server/middleware')
-rw-r--r--vnext/server/middleware/event.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/vnext/server/middleware/event.js b/vnext/server/middleware/event.js
index 29bede76..54611280 100644
--- a/vnext/server/middleware/event.js
+++ b/vnext/server/middleware/event.js
@@ -41,8 +41,7 @@ function processMessageEvent(msg) {
/**
* Handle new events
*
- * @param {import("next").NextApiRequest} req
- * @param {import("next").NextApiResponse} res
+ * @type {import('express').RequestParamHandler}
*/
export default function handleMessage(req, res) {
return simpleParser(req.body, {})