From 42b8b5ea0e88adc8de2d3cac4eb3bc23e09329a0 Mon Sep 17 00:00:00 2001 From: KevinMidboe Date: Tue, 20 Mar 2018 20:15:28 +0100 Subject: [PATCH] Removed a ) --- seasoned_api/src/tmdb/tmdb.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seasoned_api/src/tmdb/tmdb.js b/seasoned_api/src/tmdb/tmdb.js index 164b495..4401b49 100644 --- a/seasoned_api/src/tmdb/tmdb.js +++ b/seasoned_api/src/tmdb/tmdb.js @@ -37,7 +37,7 @@ class TMDB { const cacheKey = `${this.cacheTags.info}:${type}:${identifier}`; return Promise.resolve() .then(() => this.cache.get(cacheKey)) - .catch(() => this.tmdb(TMDB_METHODS['info'][type]), query)) + .catch(() => this.tmdb(TMDB_METHODS['info'][type], query)) .catch(() => { throw new Error('Could not find a movie with that id.'); }) .then(response => this.cache.set(cacheKey, response)) .then((response) => {