Clarify torrent-add result on duplicate torrents (#2690)

Rewrote a sentence to ensure it's clear that a duplicate torrent error still returns a "success" result over RPC.
This commit is contained in:
kakuhen 2022-02-22 19:59:48 -08:00 committed by GitHub
parent 46c7a7c47c
commit bee5c1016a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -467,7 +467,7 @@ Response arguments:
* On success, a `torrent-added` object in the form of one of 3.3's torrent objects with the fields for `id`, `name`, and `hashString`.
* On failure due to a duplicate torrent existing, a `torrent-duplicate` object in the same form.
* When attempting to add a duplicate torrent, a `torrent-duplicate` object in the same form is returned, but the response's `result` value is still `success`.
### 3.5. Removing a Torrent