fixed gzip for static resource.

This commit is contained in:
kay.one 2013-07-06 20:56:33 -07:00
commit 51fb6376b9
2 changed files with 18 additions and 6 deletions

View file

@ -48,7 +48,12 @@ namespace NzbDrone.Api.Series
return new NotFoundResponse();
}
return series.AsResponse();
var resource = ToResource(()=>_seriesService.FindBySlug(slug));
MapCoversToLocal(resource);
return resource.AsResponse();
}
private List<SeriesResource> AllSeries()