From a5903b72b9c50f59ef9ef68174531674a74d509a Mon Sep 17 00:00:00 2001 From: Edy Date: Mon, 30 Apr 2012 00:10:03 +0200 Subject: [PATCH] fix mendeley error message --- lib/modules/mendeley.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/modules/mendeley.js b/lib/modules/mendeley.js index 6e861a33..d06e164a 100644 --- a/lib/modules/mendeley.js +++ b/lib/modules/mendeley.js @@ -40,6 +40,6 @@ var oauthModule = require('./oauth'), return p; }) .convertErr( function (data) { - return new Error(data.error_message); + return new Error(data.data); });