From 1603512ad6a6458c130adcb32519a42e64d08004 Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Sat, 4 Dec 2021 13:29:45 -0800 Subject: [PATCH] Remove message from ping response --- src/Sonarr.Http/Ping/PingModule.cs | 3 +-- src/Sonarr.Http/Ping/PingResource.cs | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Sonarr.Http/Ping/PingModule.cs b/src/Sonarr.Http/Ping/PingModule.cs index 2d248dd61..99f699343 100644 --- a/src/Sonarr.Http/Ping/PingModule.cs +++ b/src/Sonarr.Http/Ping/PingModule.cs @@ -27,8 +27,7 @@ namespace NzbDrone.Http { return new PingResource { - Status = "Error", - Message = e.Message + Status = "Error" }.AsResponse(Context, HttpStatusCode.InternalServerError); } diff --git a/src/Sonarr.Http/Ping/PingResource.cs b/src/Sonarr.Http/Ping/PingResource.cs index 65e6cc42d..fca15990c 100644 --- a/src/Sonarr.Http/Ping/PingResource.cs +++ b/src/Sonarr.Http/Ping/PingResource.cs @@ -3,6 +3,5 @@ public class PingResource { public string Status { get; set; } - public string Message { get; set; } } }