Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Prowlarr/src/commit/3b240e0dd71c690c22b8483ea7c9328624d51b34/Marr.Data/ExtensionMethods.cs You should set ROOT_URL correctly, otherwise the web may not work correctly.
Prowlarr/Marr.Data/ExtensionMethods.cs

20 lines
520 B

using System.Data.Common;
namespace Marr.Data
{
/// <summary>
/// This class contains public extension methods.
/// </summary>
public static class ExtensionMethods
{
/// <summary>
/// Gets a value from a DbDataReader by using the column name;
/// </summary>
public static T GetValue<T>(this DbDataReader reader, string columnName)
{
int ordinal = reader.GetOrdinal(columnName);
return (T)reader.GetValue(ordinal);
}
}
}