From a6a5bccf6e8ee02e81ac18d3b35b258c08376e39 Mon Sep 17 00:00:00 2001 From: Paul LeMarquand Date: Tue, 14 Aug 2012 13:20:03 -0400 Subject: [PATCH 1/2] require("moviedb").configure was not a valid end point --- lib/endpoints.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/endpoints.json b/lib/endpoints.json index 059cda5..249b118 100644 --- a/lib/endpoints.json +++ b/lib/endpoints.json @@ -6,7 +6,10 @@ , "sessionId" : "authentication/session/new" } , "methods" : { - "search" : { + "configuration" : { + "": { "resource":"configuration", "method": "get" } + } + , "search" : { "Movie" : { "resource": "search/movie", "method": "get" } , "Person" : { "resource": "search/person", "method": "get" } } From 73e1737fc8a7321da592314543bd0b839df80306 Mon Sep 17 00:00:00 2001 From: Paul LeMarquand Date: Tue, 14 Aug 2012 13:26:00 -0400 Subject: [PATCH 2/2] Deleting unused configuration data in the endpoints --- lib/endpoints.json | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/endpoints.json b/lib/endpoints.json index 249b118..cb794c1 100644 --- a/lib/endpoints.json +++ b/lib/endpoints.json @@ -1,6 +1,5 @@ { "base_url": "http://api.themoviedb.org/3/" - , "configuration" : "configuration" , "authentication" : { "requestToken" : "authentication/token/new" , "sessionId" : "authentication/session/new"