mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-17 21:26:22 -04:00
New: Bump Version to V3 to please the masses
This commit is contained in:
@@ -12,10 +12,10 @@ namespace Radarr.Http
|
||||
|
||||
private static string BaseUrl()
|
||||
{
|
||||
var isV3 = typeof(TResource).Namespace.Contains(".V2.");
|
||||
var isV3 = typeof(TResource).Namespace.Contains(".V3.");
|
||||
if (isV3)
|
||||
{
|
||||
return "/api/v2/";
|
||||
return "/api/v3/";
|
||||
}
|
||||
return "/api/";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user