Skip to content
Snippets Groups Projects
Commit 11e193cf authored by Espen Boman Fosseide's avatar Espen Boman Fosseide :dart:
Browse files

Merge branch '19-get-all-issues' into 'master'

fix: Get all issues and spelling

Closes #19

See merge request it2810-h21/team-24/project2-it2810!16
parents 0d64e8d9 d61321f9
No related branches found
No related tags found
No related merge requests found
......@@ -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) => {
......
......@@ -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',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment