mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-05 20:42:19 -07:00
Update WikiUrl type in API docs
(cherry picked from commit 9bd619ccfe074abe396bbf043a36a5be18a7ba4b)
This commit is contained in:
parent
89b9352fef
commit
9ba71ae6b1
1 changed files with 3 additions and 4 deletions
|
@ -1,7 +1,6 @@
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using Lidarr.Http.REST;
|
using Lidarr.Http.REST;
|
||||||
using NzbDrone.Common.Http;
|
|
||||||
using NzbDrone.Core.HealthCheck;
|
using NzbDrone.Core.HealthCheck;
|
||||||
|
|
||||||
namespace Lidarr.Api.V1.Health
|
namespace Lidarr.Api.V1.Health
|
||||||
|
@ -11,7 +10,7 @@ namespace Lidarr.Api.V1.Health
|
||||||
public string Source { get; set; }
|
public string Source { get; set; }
|
||||||
public HealthCheckResult Type { get; set; }
|
public HealthCheckResult Type { get; set; }
|
||||||
public string Message { get; set; }
|
public string Message { get; set; }
|
||||||
public HttpUri WikiUrl { get; set; }
|
public string WikiUrl { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public static class HealthResourceMapper
|
public static class HealthResourceMapper
|
||||||
|
@ -29,7 +28,7 @@ namespace Lidarr.Api.V1.Health
|
||||||
Source = model.Source.Name,
|
Source = model.Source.Name,
|
||||||
Type = model.Type,
|
Type = model.Type,
|
||||||
Message = model.Message,
|
Message = model.Message,
|
||||||
WikiUrl = model.WikiUrl
|
WikiUrl = model.WikiUrl.FullUri
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue