Api/v2 #111

Merged
KevinMidboe merged 88 commits from api/v2 into master 2019-11-04 17:01:16 +00:00
Showing only changes of commit d2d396bb7a - Show all commits

View File

@@ -136,7 +136,7 @@ class TMDB {
return this.cache.get(cacheKey)
.catch(() => this.tmdb('movieCredits', query))
.catch(tmdbError => this.tmdbCreditsError(tmdbError))
.then(credits => this.cache.set(cacheKey, credits, 1))
.then(credits => this.cache.set(cacheKey, credits, 86400))
.then(credits => Credits.convertFromTmdbResponse(credits))
}