Rename LocalizationLanguageResource to avoid collision with LanguageResource
This commit is contained in:
parent
5e761f766c
commit
d2cd3f7716
|
@ -29,11 +29,11 @@ namespace Sonarr.Api.V3.Localization
|
||||||
|
|
||||||
[HttpGet("language")]
|
[HttpGet("language")]
|
||||||
[Produces("application/json")]
|
[Produces("application/json")]
|
||||||
public LanguageResource GetLanguage()
|
public LocalizationLanguageResource GetLanguage()
|
||||||
{
|
{
|
||||||
var identifier = _localizationService.GetLanguageIdentifier();
|
var identifier = _localizationService.GetLanguageIdentifier();
|
||||||
|
|
||||||
return new LanguageResource
|
return new LocalizationLanguageResource
|
||||||
{
|
{
|
||||||
Identifier = identifier
|
Identifier = identifier
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
namespace Sonarr.Api.V3.Localization
|
namespace Sonarr.Api.V3.Localization
|
||||||
{
|
{
|
||||||
public class LanguageResource
|
public class LocalizationLanguageResource
|
||||||
{
|
{
|
||||||
public string Identifier { get; set; }
|
public string Identifier { get; set; }
|
||||||
}
|
}
|
Loading…
Reference in New Issue