mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-20 21:55:03 -04:00
Reformat and apply Stylecop rules
This commit is contained in:
@@ -5,11 +5,11 @@ using Radarr.Http.Validation;
|
||||
|
||||
namespace Radarr.Http
|
||||
{
|
||||
public abstract class RadarrRestModule<TResource> : RestModule<TResource> where TResource : RestResource, new()
|
||||
public abstract class RadarrRestModule<TResource> : RestModule<TResource>
|
||||
where TResource : RestResource, new()
|
||||
{
|
||||
protected string Resource { get; private set; }
|
||||
|
||||
|
||||
private static string BaseUrl()
|
||||
{
|
||||
var isV3 = typeof(TResource).Namespace.Contains(".V3.");
|
||||
@@ -17,6 +17,7 @@ namespace Radarr.Http
|
||||
{
|
||||
return "/api/v3/";
|
||||
}
|
||||
|
||||
return "/api/";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user