Fix Added bug in torrent

This commit is contained in:
Mukhtar Akere
2025-08-28 03:26:43 +01:00
parent d76ca032ab
commit aff12c2e4b
4 changed files with 7 additions and 3 deletions

View File

@@ -107,6 +107,7 @@ func (ad *AllDebrid) SubmitMagnet(torrent *types.Torrent) (*types.Torrent, error
magnet := magnets[0]
torrentId := strconv.Itoa(magnet.ID)
torrent.Id = torrentId
torrent.Added = time.Now().Format(time.RFC3339)
return torrent, nil
}