mirror of
https://github.com/zoriya/flood.git
synced 2026-06-07 04:15:06 +00:00
server: qBittorrent: trim whitespaces after tags string split
This commit is contained in:
@@ -347,7 +347,7 @@ class QBittorrentClientGatewayService extends ClientGatewayService {
|
||||
seedsTotal: info.num_complete,
|
||||
sizeBytes: info.size,
|
||||
status: getTorrentStatusFromState(info.state),
|
||||
tags: info.tags === '' ? [] : info.tags.split(','),
|
||||
tags: info.tags === '' ? [] : info.tags.split(',').map((tag) => tag.trim()),
|
||||
trackerURIs,
|
||||
upRate: info.upspeed,
|
||||
upTotal: info.uploaded,
|
||||
|
||||
Reference in New Issue
Block a user