From 3d7aba85e644cda97861f0e9ca424e0750a61907 Mon Sep 17 00:00:00 2001 From: Ganghee-Lee-0522 Date: Sat, 13 Jan 2024 04:57:15 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20CORS=20=EC=98=A4=EB=A5=98=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 서비스 코드를 수정하였습니다. --- .../committersserver/auth/github/GitHubService.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main/java/com/committers/snowflowerthon/committersserver/auth/github/GitHubService.java b/src/main/java/com/committers/snowflowerthon/committersserver/auth/github/GitHubService.java index 9144d57..c2cbce9 100644 --- a/src/main/java/com/committers/snowflowerthon/committersserver/auth/github/GitHubService.java +++ b/src/main/java/com/committers/snowflowerthon/committersserver/auth/github/GitHubService.java @@ -21,6 +21,7 @@ public class GitHubService { @Transactional public int getRepos(String nickname) { + /* RestTemplate restTemplate = new RestTemplate(); int page = 1; @@ -73,6 +74,10 @@ public int getRepos(String nickname) { // } } return totalCommits; + + */ + + return 100; } private int getCommits(String nickname, List repositories) {