This commit is contained in:
Reinhard Pointner 2016-04-05 18:06:16 +00:00
parent 8177a0959a
commit 8e6688facd
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ public class FanartTVClient implements Datasource {
String path = category + '/' + id;
Cache cache = Cache.getCache(getName(), CacheType.Weekly);
Object json = cache.json(path, s -> getResource(s)).expire(Cache.ONE_WEEK);
Object json = cache.json(path, s -> getResource(s)).expire(Cache.ONE_WEEK).get();
return asMap(json).entrySet().stream().flatMap(type -> {
return streamJsonObjects(type.getValue()).map(item -> {