From 3836fb614e86eb5fa7165e3237ef705f0c0407a1 Mon Sep 17 00:00:00 2001 From: Irfan Maulana Date: Tue, 26 Nov 2024 16:28:31 +0700 Subject: [PATCH] FEAT: Limit per_page into 1 (#67) --- src/lib/api.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/api.ts b/src/lib/api.ts index ca591bc..e911605 100644 --- a/src/lib/api.ts +++ b/src/lib/api.ts @@ -7,7 +7,7 @@ const ENDPOINT = { MOST_ACTIVE_USERS: 'https://raw.githubusercontent.com/depapp/most-active-github-users-counter/master/indogithubers.json', LAST_UPDATED_DATE: - 'https://api.github.com/repos/depapp/most-active-github-users-counter/commits?path=indogithubers.json', + 'https://api.github.com/repos/depapp/most-active-github-users-counter/commits?path=indogithubers.json&per_page=1', }; export interface User {