Fixed an issue where we didn't provide the correct response when clearing the logs

This commit is contained in:
tidusjar 2016-06-29 09:02:03 +01:00
parent a08170ca95
commit 3563f166c9
2 changed files with 2 additions and 2 deletions

View file

@ -903,7 +903,7 @@ namespace PlexRequests.UI.Modules
{
await LogsRepo.DeleteAsync(logEntity);
}
return Response.AsJson(new JsonResponseModel { Result = true });
return Response.AsJson(new JsonResponseModel { Result = true, Message = "Logs cleared successfully."});
}
catch (Exception e)
{