Browse Source

hotfix

pull/7/head
rozetko 2 years ago
parent
commit
09b0652973
  1. 4
      src/routes/connect.ts

4
src/routes/connect.ts

@ -6,9 +6,9 @@ import * as _ from 'lodash';
async function checkConnection(req, res) { async function checkConnection(req, res) {
const params = req.params; const query = req.query;
const clientUrl = params.url; const clientUrl = query.url;
if (_.isEmpty(clientUrl)) { if (_.isEmpty(clientUrl)) {
res.status(400).send('"url" field is required'); res.status(400).send('"url" field is required');
return; return;

Loading…
Cancel
Save