diff options
author | Chocobozzz <me@florianbigard.com> | 2021-10-20 15:01:17 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-10-20 15:26:38 +0200 |
commit | 400043b1be38cdd7bc39462fa6a545eea0bea03e (patch) | |
tree | 68f447d00e06f80bbe84bf38dac30005e66cf2e4 /server/helpers | |
parent | ebe9b6b3f32d8432980854a51d28a8fb88fe62e5 (diff) | |
download | PeerTube-400043b1be38cdd7bc39462fa6a545eea0bea03e.tar.gz PeerTube-400043b1be38cdd7bc39462fa6a545eea0bea03e.tar.zst PeerTube-400043b1be38cdd7bc39462fa6a545eea0bea03e.zip |
Add ability to search by URL with query params
Diffstat (limited to 'server/helpers')
-rw-r--r-- | server/helpers/express-utils.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/helpers/express-utils.ts b/server/helpers/express-utils.ts index 38fe6926b..7b81ed71b 100644 --- a/server/helpers/express-utils.ts +++ b/server/helpers/express-utils.ts | |||
@@ -59,7 +59,7 @@ function getHostWithPort (host: string) { | |||
59 | return host | 59 | return host |
60 | } | 60 | } |
61 | 61 | ||
62 | function badRequest (req: express.Request, res: express.Response) { | 62 | function badRequest (_req: express.Request, res: express.Response) { |
63 | return res.type('json') | 63 | return res.type('json') |
64 | .status(HttpStatusCode.BAD_REQUEST_400) | 64 | .status(HttpStatusCode.BAD_REQUEST_400) |
65 | .end() | 65 | .end() |