mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
fixed some issues here and there.
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user