Feat: Redis cache #129

Merged
KevinMidboe merged 14 commits from feat/redis-cache into master 2020-04-08 21:04:07 +00:00
Showing only changes of commit f89db46bf2 - Show all commits

View File

@@ -93,8 +93,8 @@ class Plex {
return match
}
existsInPlex(tmdb) {
const plexMatch = this.findPlexItemByTitleAndYear(tmdb.title, tmdb.year)
async existsInPlex(tmdb) {
const plexMatch = await this.findPlexItemByTitleAndYear(tmdb.title, tmdb.year)
return plexMatch ? true : false
}