hotfix nil downloadLink
This commit is contained in:
@@ -89,7 +89,6 @@ func (c *Cache) fetchDownloadLink(torrentName, filename, fileLink string) (*type
|
||||
if err != nil {
|
||||
if errors.Is(err, utils.HosterUnavailableError) {
|
||||
c.logger.Trace().
|
||||
Str("account", downloadLink.MaskedToken).
|
||||
Str("filename", filename).
|
||||
Str("torrent_id", ct.Id).
|
||||
Msg("Hoster unavailable, attempting to reinsert torrent")
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -898,7 +898,7 @@ class ConfigManager {
|
||||
|
||||
<input type="hidden" name="arr[${index}].source" value="${data.source || ''}">
|
||||
|
||||
<div class="grid grid-cols-1 lg:grid-cols-3 gap-4">
|
||||
<div class="grid grid-cols-1 lg:grid-cols-2 gap-4">
|
||||
<div class="form-control">
|
||||
<label class="label" for="arr[${index}].name">
|
||||
<span class="label-text font-medium">Service Name</span>
|
||||
@@ -933,9 +933,7 @@ class ConfigManager {
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="grid grid-cols-1 lg:grid-cols-2 gap-4 mt-4">
|
||||
<div class="form-control">
|
||||
<label class="label" for="arr[${index}].selected_debrid">
|
||||
<span class="label-text font-medium">Preferred Debrid Service</span>
|
||||
@@ -951,9 +949,9 @@ class ConfigManager {
|
||||
<span class="label-text-alt">Which debrid service this Arr should prefer</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="flex flex-col justify-end">
|
||||
<div class="grid grid-cols-3 gap-2">
|
||||
<div class="grid grid-cols-3 gap-4">
|
||||
<div class="form-control">
|
||||
<label class="label cursor-pointer justify-start gap-2">
|
||||
<input type="checkbox" class="checkbox checkbox-sm"
|
||||
@@ -980,8 +978,6 @@ class ConfigManager {
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
`;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user