From 2ef5e8b526af3c33d3573d664573f94a9fa3da72 Mon Sep 17 00:00:00 2001 From: Ethan Shen <42264778+nczitzk@users.noreply.github.com> Date: Mon, 2 Jan 2023 00:22:31 +0800 Subject: [PATCH] fix(route): ScienceDirect journal with issn (#11534) --- lib/v2/sciencedirect/journal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/v2/sciencedirect/journal.js b/lib/v2/sciencedirect/journal.js index 7be915967..dbaab7142 100644 --- a/lib/v2/sciencedirect/journal.js +++ b/lib/v2/sciencedirect/journal.js @@ -14,7 +14,7 @@ module.exports = async (ctx) => { url: currentUrl, }); - const issn = response.data.match(/ISSN(\d{8})'/)[1]; + const issn = response.data.match(/ISSN(\w{8})'/)[1]; const apiUrl = `${rootUrl}/journal/${issn}/articles-in-press/articles?path=/journal/${id}/articles-in-press&title=${id}`;