1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-22 15:54:57 +00:00

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

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