Skip to content
Snippets Groups Projects
Verified Commit 78ef71fc authored by Birk Gustav Samson Stoveland's avatar Birk Gustav Samson Stoveland :speech_balloon:
Browse files

hotfix: low on time

parent 7af7e144
No related branches found
No related tags found
No related merge requests found
...@@ -57,7 +57,7 @@ export const getAllCommitsFromAPI = async () => { ...@@ -57,7 +57,7 @@ export const getAllCommitsFromAPI = async () => {
}; };
const getMergeRequestsFromAPI = async (data: Array<MergeRequest>, page: number) => { const getMergeRequestsFromAPI = async (data: Array<MergeRequest>, page: number) => {
return fromAPI('/merge_requests?state=all', 'GET').then(async (res) => { return fromAPI('/merge_requests?state=all&per_page=101000&&page=' + page, 'GET').then(async (res) => {
if (res.ok) { if (res.ok) {
data = data.concat(res.data as Array<MergeRequest>); data = data.concat(res.data as Array<MergeRequest>);
if (res.headers.get('x-next-page')) { if (res.headers.get('x-next-page')) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment