mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 18:57:39 -07:00
fixed some issues here and there.
This commit is contained in:
parent
4deecde092
commit
85cd877b0c
12 changed files with 66 additions and 20 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue