From 5f07beff8e4d1fff93bea3073992acb22c3b5ac8 Mon Sep 17 00:00:00 2001
From: Jonathan Cremin
Date: Tue, 13 Oct 2015 15:58:13 -0700
Subject: [PATCH] Fix deezer
---
lib/services/deezer/index.js | 2 +-
package.json | 6 +++---
views/notfound.js | 5 -----
3 files changed, 4 insertions(+), 9 deletions(-)
diff --git a/lib/services/deezer/index.js b/lib/services/deezer/index.js
index d8173d4..5df14b5 100644
--- a/lib/services/deezer/index.js
+++ b/lib/services/deezer/index.js
@@ -35,7 +35,7 @@ export function* lookupId(id, type) {
try {
cover = yield request.get(coverUrl).redirects(0);
} catch(err) {
- cover = err.message.response.res;
+ cover = err.originalError.response;
}
let artwork = {
small: cover.headers.location.replace('120x120', '200x200'),
diff --git a/package.json b/package.json
index 1e6c989..3666310 100644
--- a/package.json
+++ b/package.json
@@ -18,7 +18,7 @@
},
"dependencies": {
"babel": "~5.8.3",
- "bluebird": "~2.9.34",
+ "bluebird": "~2.10.2",
"co": "~4.6.0",
"debug": "~2.2.0",
"jspm": "~0.16.0",
@@ -38,7 +38,7 @@
"react-google-analytics": "~0.2.0",
"react-router": "~0.13.3",
"spotify": "~0.3.0",
- "superagent": "~1.3.0",
+ "superagent": "~1.4.0",
"superagent-bluebird-promise": "~2.1.0"
},
"devDependencies": {
@@ -47,7 +47,7 @@
"eslint-plugin-react": "~3.3.0",
"istanbul": "^0.3.17",
"mocha": "~2.3.0",
- "nodemon": "~1.4.1",
+ "nodemon": "~1.7.1",
"parallelshell": "~2.0.0",
"should": "~7.1.0"
},
diff --git a/views/notfound.js b/views/notfound.js
index c3265bd..6789d16 100644
--- a/views/notfound.js
+++ b/views/notfound.js
@@ -7,9 +7,6 @@ export default React.createClass({
render: function() {
return (
-
-
-
@@ -28,8 +25,6 @@ export default React.createClass({
-
-
);
}
});