dockerise server

This commit is contained in:
Jurgis Sakalauskas committed 2023-08-04 16:06:47 +03:00
1 parent 27f76a08f0
commit fe938afa3f
11 files changed
+81 -28

No files matched your search

+4 -1
View File
@@ -322,7 +322,10 @@ export class TorrentService {
const torrId = parseInt(id);
const result = await this.torrSeedClient
.addTorrentById(torrId)
.catch(() => false);
.catch((e) => {
console.log(e);
return false;
});
return new NotificationResponse(
result ? 'torrent added to transmission' : 'adding failed',