From d3fce6f548c5bcd208c673bb19a172975d084a56 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Thu, 24 Oct 2024 12:12:26 +0300 Subject: urlexpand: fix JSDoc --- vnext/server/middleware/urlexpand.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'vnext/server/middleware') diff --git a/vnext/server/middleware/urlexpand.js b/vnext/server/middleware/urlexpand.js index a99f80a7..fd7ab3bb 100644 --- a/vnext/server/middleware/urlexpand.js +++ b/vnext/server/middleware/urlexpand.js @@ -2,8 +2,7 @@ import { expandShortenedLink } from '../../src/api' /** * Expand URLs - * @param {import("next").NextApiRequest} req - * @param {import("next").NextApiResponse} res + * @type {import('express').RequestParamHandler} */ export default function urlExpand(req, res) { let url = (req.query.url || '').toString() -- cgit v1.2.3