From 3ca3c068248c88c8800d71db9823773c2e7360bd Mon Sep 17 00:00:00 2001 From: KevinMidboe Date: Wed, 7 Feb 2018 14:13:50 +0100 Subject: [PATCH] Removed static tag in tmdb functions. --- seasoned_api/src/tmdb/tmdb.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/seasoned_api/src/tmdb/tmdb.js b/seasoned_api/src/tmdb/tmdb.js index 79b1e40..84ff91b 100644 --- a/seasoned_api/src/tmdb/tmdb.js +++ b/seasoned_api/src/tmdb/tmdb.js @@ -92,7 +92,7 @@ class TMDB { })); } - static tmdbMethod(apiMethod, type) { + tmdbMethod(apiMethod, type) { const method = TMDB_METHODS[apiMethod][type]; if (method !== undefined) return method; throw new Error('Could not find tmdb api method.'); @@ -104,7 +104,7 @@ class TMDB { * @param {type} The type declared in listSearch. * @returns {Promise} dict with tmdb results, mapped as movie/show objects. */ - static mapResults(response, type) { + mapResults(response, type) { return Promise.resolve() .then(() => { const mappedResults = response.results.map(result => convertTmdbToSeasoned(result, type));