diff options
Diffstat (limited to 'server/controllers/api')
-rw-r--r-- | server/controllers/api/videos/import.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/controllers/api/videos/import.ts b/server/controllers/api/videos/import.ts index 6ee109a8f..42ca59975 100644 --- a/server/controllers/api/videos/import.ts +++ b/server/controllers/api/videos/import.ts | |||
@@ -335,7 +335,7 @@ async function processTorrentOrAbortRequest (req: express.Request, res: express. | |||
335 | cleanUpReqFiles(req) | 335 | cleanUpReqFiles(req) |
336 | 336 | ||
337 | res.fail({ | 337 | res.fail({ |
338 | type: ServerErrorCode.INCORRECT_FILES_IN_TORRENT.toString(), | 338 | type: ServerErrorCode.INCORRECT_FILES_IN_TORRENT, |
339 | message: 'Torrents with only 1 file are supported.' | 339 | message: 'Torrents with only 1 file are supported.' |
340 | }) | 340 | }) |
341 | return undefined | 341 | return undefined |