From d61321f94555d465615cf3d2024acae489da2372 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ulrik=20R=C3=B8sby?= <ulrik@rosby.no> Date: Sun, 3 Oct 2021 11:46:46 +0200 Subject: [PATCH] fix: Get all issues and spelling --- src/helpers/api-calls.ts | 2 +- src/helpers/constants.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/helpers/api-calls.ts b/src/helpers/api-calls.ts index b1013c8..ced9c64 100644 --- a/src/helpers/api-calls.ts +++ b/src/helpers/api-calls.ts @@ -31,7 +31,7 @@ export const fromAPI = async ( }; export const getIssuesFromAPI = async (): Promise<APIResponse<Issue[]>> => { - return fromAPI('/issues', 'GET') as Promise<APIResponse<Issue[]>>; + return fromAPI('/issues?per_page=100', 'GET') as Promise<APIResponse<Issue[]>>; }; const getCommitsFromAPIRecursive = async (data: Array<Commit>, page: number) => { diff --git a/src/helpers/constants.ts b/src/helpers/constants.ts index 52586bb..f477560 100644 --- a/src/helpers/constants.ts +++ b/src/helpers/constants.ts @@ -10,7 +10,7 @@ export enum Label { DOING = 'Doing', IMPORTANT = 'Important', API = 'API', - POSSIBLY_IMPOSSIBLE = 'Possibly Impossible', + POSSIBLY_IMPOSSIBLE = 'Possibly impossible', EASY = 'Easy', GOOD_FIRST = 'Good first issue', SET_UP = 'Set-up', -- GitLab