mirror of
https://github.com/zoriya/flood.git
synced 2025-12-06 07:16:18 +00:00
server: torrentService: normalize case of hash during torrent lookup
This commit is contained in:
@@ -78,7 +78,7 @@ class TorrentService extends BaseService<TorrentServiceEvents> {
|
|||||||
};
|
};
|
||||||
|
|
||||||
getTorrent(hash: TorrentProperties['hash']) {
|
getTorrent(hash: TorrentProperties['hash']) {
|
||||||
return this.torrentListSummary.torrents[hash];
|
return this.torrentListSummary.torrents[hash.toUpperCase()];
|
||||||
}
|
}
|
||||||
|
|
||||||
getTorrentList() {
|
getTorrentList() {
|
||||||
|
|||||||
Reference in New Issue
Block a user