Skip to content

Commit

Permalink
Remove debug lines (#20)
Browse files Browse the repository at this point in the history
* Update fetchIssue.js

* Update fetchIssue.js
  • Loading branch information
JingHai-Lingyun authored Apr 18, 2024
1 parent 4a41999 commit e22f0e7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/common/fetchIssue.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ export const fetchAllIssues = () => {
.trim()
.slice(1, -1);
const lastPage = getQueryParam("page", lastPageLink);
console.debug(lastPage);
let combinedIssues = await response.json();
const promises = [];
for (let i = 1; i <= Number(lastPage); i++) {
Expand All @@ -61,7 +60,6 @@ export const fetchAllIssues = () => {
promises.push(promise);
}
Promise.all(promises).then(() => {
console.log("请求已完成。");
resolve(combinedIssues);
}).catch((error) => {
reject({
Expand Down

0 comments on commit e22f0e7

Please sign in to comment.