diff --git a/README.md b/README.md index 25133309..cf35ed44 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ Ezunpaywall is an API and database that queries the Unpaywall database containin **Table of content** - [Structure](#Structure) - [Installation](#Installation) - - [Developement](#Development) + - [Development](#Development) - [Prerequisites](#Prerequisites) - [Start](#Start) - [Tests](#Tests) diff --git a/package.json b/package.json index e5c84c2a..5a817339 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ezunpaywall", - "version": "1.3.4", + "version": "1.3.5", "description": "", "author": "felixleo22", "license": "CeCILL", diff --git a/src/apikey/package.json b/src/apikey/package.json index db6557b4..a069f0e1 100644 --- a/src/apikey/package.json +++ b/src/apikey/package.json @@ -1,6 +1,6 @@ { "name": "ezunpaywall-apikey", - "version": "1.3.4", + "version": "1.3.5", "description": "", "main": "app.js", "author": "felixleo22", diff --git a/src/enrich/lib/csv.js b/src/enrich/lib/csv.js index 8fe788f8..7255adc8 100644 --- a/src/enrich/lib/csv.js +++ b/src/enrich/lib/csv.js @@ -101,7 +101,7 @@ function enrichArray(data, response) { response.forEach((el) => { if (el.doi) { - results.set(el.doi, el); + results.set(el.doi.toLowerCase(), el); } }); @@ -109,7 +109,7 @@ function enrichArray(data, response) { if (!el.doi) { return; } - let res = results.get(el.doi); + let res = results.get(el.doi.toLowerCase()); if (!res) { return; } diff --git a/src/enrich/lib/json.js b/src/enrich/lib/json.js index e1cc757d..0bb6e9cf 100644 --- a/src/enrich/lib/json.js +++ b/src/enrich/lib/json.js @@ -79,7 +79,7 @@ function enrichArray(data, response) { response.forEach((el) => { if (el.doi) { - results.set(el.doi, el); + results.set(el.doi.toLowerCase(), el); } }); @@ -87,7 +87,7 @@ function enrichArray(data, response) { if (!el.doi) { return; } - const res = results.get(el.doi); + const res = results.get(el.doi.toLowerCase()); if (!res) { return; } diff --git a/src/enrich/package.json b/src/enrich/package.json index 252217ea..06d4fbb5 100644 --- a/src/enrich/package.json +++ b/src/enrich/package.json @@ -1,6 +1,6 @@ { "name": "ezunpaywall-enrich", - "version": "1.3.4", + "version": "1.3.5", "description": "", "main": "app.js", "author": "felixleo22", diff --git a/src/fakeUnpaywall/package.json b/src/fakeUnpaywall/package.json index dedcdaf7..ae63d9b1 100644 --- a/src/fakeUnpaywall/package.json +++ b/src/fakeUnpaywall/package.json @@ -1,6 +1,6 @@ { "name": "fakeunpaywall", - "version": "1.3.4", + "version": "1.3.5", "description": "", "main": "app.js", "author": "felixleo22", diff --git a/src/frontend/components/enrich/EnrichCard.vue b/src/frontend/components/enrich/EnrichCard.vue index 8ef9f615..81888583 100644 --- a/src/frontend/components/enrich/EnrichCard.vue +++ b/src/frontend/components/enrich/EnrichCard.vue @@ -63,6 +63,7 @@ {{ t("enrich.settings") }} diff --git a/src/graphql/package.json b/src/graphql/package.json index fe17718f..31209d70 100644 --- a/src/graphql/package.json +++ b/src/graphql/package.json @@ -1,6 +1,6 @@ { "name": "ezunpaywall-graphql", - "version": "1.3.4", + "version": "1.3.5", "description": "", "main": "app.js", "author": "felixleo22", diff --git a/src/health/package.json b/src/health/package.json index cc839833..128880fc 100644 --- a/src/health/package.json +++ b/src/health/package.json @@ -1,6 +1,6 @@ { "name": "ezunpaywall-health", - "version": "1.3.4", + "version": "1.3.5", "description": "", "main": "app.js", "author": "felixleo22", diff --git a/src/mail/package.json b/src/mail/package.json index 63f40efd..3c9a6b4f 100644 --- a/src/mail/package.json +++ b/src/mail/package.json @@ -1,6 +1,6 @@ { "name": "mail", - "version": "1.3.4", + "version": "1.3.5", "description": "", "main": "app.js", "scripts": { diff --git a/src/update/package.json b/src/update/package.json index ad8badcd..e43134ec 100644 --- a/src/update/package.json +++ b/src/update/package.json @@ -1,6 +1,6 @@ { "name": "ezunpaywall-update", - "version": "1.3.4", + "version": "1.3.5", "description": "", "main": "app.js", "author": "felixleo22",