-
Notifications
You must be signed in to change notification settings - Fork 51
Remove empty peer list in API GET /torrents endpoint #536
Copy link
Copy link
Closed
Labels
- Developer -Torrust Improvement ExperienceTorrust Improvement ExperienceEasyGood for NewcomersGood for NewcomersEnhancement / Feature RequestSomething NewSomething New
Description
The endpoint to get the list of torrents returns a list of items like this:
[
{
"info_hash": "0031ad8520ddfebd856d70776063e477eaf07ada",
"seeders": 0,
"completed": 0,
"leechers": 1,
"peers": null
}
]The peers list is always null even if there are peers. That's very confusing especially if you enable the config option remove_peerless_torrents. I would remove it.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
- Developer -Torrust Improvement ExperienceTorrust Improvement ExperienceEasyGood for NewcomersGood for NewcomersEnhancement / Feature RequestSomething NewSomething New
Type
Projects
Status
No status