Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Radarr/src/commit/e9789116d20d0cb2a1e38c91165acf0e2ce8f68c/NzbDrone.Core/Indexers/IndexerRepository.cs You should set ROOT_URL correctly, otherwise the web may not work correctly.
Radarr/NzbDrone.Core/Indexers/IndexerRepository.cs

28 lines
639 B

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NzbDrone.Core.Datastore;
using NzbDrone.Core.Tv;
namespace NzbDrone.Core.Indexers
{
public interface IIndexerRepository : IBasicRepository<Indexer>
{
Indexer Find(Type type);
}
public class IndexerRepository : BasicRepository<Indexer>, IIndexerRepository
{
public IndexerRepository(IObjectDatabase objectDatabase)
: base(objectDatabase)
{
}
public Indexer Find(Type type)
{
return Queryable.Single(i => i.Type == type.ToString());
}
}
}