mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Update WikiUrl type in API docs
(cherry picked from commit 9bd619ccfe074abe396bbf043a36a5be18a7ba4b)
This commit is contained in:
@@ -1,6 +1,5 @@
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using NzbDrone.Common.Http;
|
|
||||||
using NzbDrone.Core.HealthCheck;
|
using NzbDrone.Core.HealthCheck;
|
||||||
using Prowlarr.Http.REST;
|
using Prowlarr.Http.REST;
|
||||||
|
|
||||||
@@ -11,7 +10,7 @@ namespace Prowlarr.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 Prowlarr.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
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user