API: rename /add to /add-urls

To make things clearer.
This commit is contained in:
Jesse Chan
2020-10-03 00:10:17 +08:00
parent 92d30be2fa
commit ff912cb733
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
import {TorrentProperties} from './Torrent';
// POST /api/torrents/add
// POST /api/torrents/add-urls
export interface AddTorrentByURLOptions {
// URLs to download torrents from
urls: Array<string>;