fix(route): ScienceDirect journal with issn (#11534)

This commit is contained in:
Ethan Shen
2023-01-02 00:22:31 +08:00
committed by GitHub
parent d0747e319a
commit 2ef5e8b526
+1 -1
View File
@@ -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}`;