Skip to content

Commit 0a5c8dd

Browse files
committed
fix: 🐛 fix wrong function call
= infinite loop
1 parent 8005f0d commit 0a5c8dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gitlab.mjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ async function fetchIssues(url, config, page = 1, issues = []) {
5454
const nextPage = Number(res.headers.get('x-next-page'))
5555

5656
if (nextPage > 0) {
57-
return getIssues(url, config, nextPage, formattedIssues)
57+
return fetchIssues(url, config, nextPage, formattedIssues)
5858
}
5959

6060
return formattedIssues

0 commit comments

Comments
 (0)