mirror of
https://github.com/zoriya/flood.git
synced 2026-06-06 20:12:19 +00:00
server: rTorrent: properly handle multi tags while adding
This commit is contained in:
@@ -151,7 +151,7 @@ class RTorrentClientGatewayService extends ClientGatewayService {
|
||||
additionalCalls.push(`${isBasePath ? 'd.directory_base.set' : 'd.directory.set'}="${destination}"`);
|
||||
|
||||
if (tags.length > 0) {
|
||||
additionalCalls.push(`d.custom1.set=${encodeTags(tags)}`);
|
||||
additionalCalls.push(`d.custom1.set="${encodeTags(tags)}"`);
|
||||
}
|
||||
|
||||
additionalCalls.push(`d.custom.set=addtime,${Math.round(Date.now() / 1000)}`);
|
||||
|
||||
Reference in New Issue
Block a user