1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2026-04-22 22:16:13 -04:00

fixed some issues here and there.

This commit is contained in:
kay.one
2013-05-10 22:59:42 -07:00
parent 4deecde092
commit 85cd877b0c
12 changed files with 66 additions and 20 deletions
+1
View File
@@ -135,6 +135,7 @@ namespace NzbDrone.Api.REST
private TResource ReadFromRequest()
{
//TODO: handle when request is null
var resource = Request.Body.FromJson<TResource>();
var errors = SharedValidator.Validate(resource).Errors.ToList();