From 09b0652973c04a13557862800542e8a7ca584059 Mon Sep 17 00:00:00 2001 From: rozetko Date: Fri, 20 Jan 2023 00:00:04 +0300 Subject: [PATCH] hotfix --- src/routes/connect.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/routes/connect.ts b/src/routes/connect.ts index 1ad79ae..0e71fe8 100644 --- a/src/routes/connect.ts +++ b/src/routes/connect.ts @@ -6,9 +6,9 @@ import * as _ from 'lodash'; async function checkConnection(req, res) { - const params = req.params; + const query = req.query; - const clientUrl = params.url; + const clientUrl = query.url; if (_.isEmpty(clientUrl)) { res.status(400).send('"url" field is required'); return;