!wip Made a start on adding CouchPotato, most of the UI is there but nothing is done with it yet #865

Also improved the error messages on the settings
This commit is contained in:
Jamie.Rees 2017-10-03 13:00:56 +01:00
parent 532530a954
commit e735df5d0a
43 changed files with 688 additions and 114 deletions

View file

@ -52,6 +52,7 @@ namespace Ombi.Api
var receivedString = await data.ReadAsStringAsync();
if (request.ContentType == ContentType.Json)
{
request.OnBeforeDeserialization?.Invoke(receivedString);
return JsonConvert.DeserializeObject<T>(receivedString, Settings);
}
else