diff --git a/services/torrent-rest/src/services/WebServer/routes/api.ts b/services/torrent-rest/src/services/WebServer/routes/api.ts index 3c5c1db..90b05c2 100644 --- a/services/torrent-rest/src/services/WebServer/routes/api.ts +++ b/services/torrent-rest/src/services/WebServer/routes/api.ts @@ -45,7 +45,7 @@ export default function register(factory: RouteRegisterFactory { - let downloadPath = (request.query)["downloadPath"] ?? undefined; + let downloadPath = (request.query)["download_path"] ?? undefined; let result: string[] = []; if (request.isMultipart()) { let files = request.files();