fixed gzip for static resource.

This commit is contained in:
kay.one
2013-07-06 20:56:33 -07:00
parent 92c3fe61f2
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()