Skip to content

Commit bbe3e1d

Browse files
committed
removed logs
1 parent bc4bb36 commit bbe3e1d

1 file changed

Lines changed: 0 additions & 18 deletions

File tree

src/pages/contributors.rs

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -169,12 +169,7 @@ mod config {
169169

170170
#[cfg(feature = "ssr")]
171171
pub async fn fetch_contributors() -> ContributorsResponse {
172-
println!("DEBUG: Starting fetch_contributors()");
173172
let mut all_contributors = fetch_all_contributors_with_pagination().await;
174-
println!(
175-
"DEBUG: fetch_contributors returned {} contributors",
176-
all_contributors.len()
177-
);
178173

179174
all_contributors.sort_by_key(|a| {
180175
a.contributions_collection
@@ -231,15 +226,9 @@ async fn fetch_all_contributors_with_pagination() -> Vec<Contributor> {
231226
}
232227

233228
let mut collab_page_info = collabs.page_info;
234-
let repo_name = repo.name.clone();
235229
while collab_page_info.has_next_page {
236230
let collab_cursor = collab_page_info.end_cursor.clone();
237231

238-
println!(
239-
"DEBUG: Fetching more collabs for repo '{}', repo_cursor={:?}, collab_cursor={:?}",
240-
repo_name, repo_cursor, collab_cursor
241-
);
242-
243232
let collab_response = execute_repository_query(
244233
config::ORGANIZATION_LOGIN,
245234
1,
@@ -358,13 +347,6 @@ async fn execute_repository_query(
358347
};
359348

360349
let org_data = parsed.data.unwrap_or_else(empty_org_data);
361-
let repo_count = org_data
362-
.organization
363-
.repositories
364-
.nodes
365-
.as_ref()
366-
.map(|n| n.len())
367-
.unwrap_or(0);
368350

369351
org_data
370352
}

0 commit comments

Comments
 (0)