Fix reference to really old API endpoint

switch from www.freebase.com to api.freebase.com
needs to be updated to Google API, but is unused, so low priority
This commit is contained in:
Tom Morris 2013-03-12 17:48:05 -04:00
parent a06e16a9e5
commit 01de9e65c0

View File

@ -92,7 +92,8 @@ public abstract class RefineBroker extends ButterflyModuleImpl {
static final protected Logger logger = LoggerFactory.getLogger("refine.broker"); static final protected Logger logger = LoggerFactory.getLogger("refine.broker");
static final protected String USER_INFO_URL = "http://www.freebase.com/api/service/user_info"; // TODO: This API is deprecated.
static final protected String USER_INFO_URL = "http://api.freebase.com/api/service/user_info";
static final protected String DELEGATED_OAUTH_HEADER = "X-Freebase-Credentials"; static final protected String DELEGATED_OAUTH_HEADER = "X-Freebase-Credentials";
static final protected String OAUTH_HEADER = "Authorization"; static final protected String OAUTH_HEADER = "Authorization";