From db4ff7da6b3dab8c95162fa3dbd900c023d03f7f Mon Sep 17 00:00:00 2001 From: Marshall Bowers Date: Thu, 22 Aug 2024 19:58:04 -0400 Subject: [PATCH] collab: Look up users using `github_user_id` when backfilling (#16708) This PR updates the user backfiller to look up the GitHub users using the `github_user_id` instead of `github_login`. Release Notes: - N/A --- crates/collab/src/user_backfiller.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/collab/src/user_backfiller.rs b/crates/collab/src/user_backfiller.rs index 83382e4ec6..5d9c4e2c16 100644 --- a/crates/collab/src/user_backfiller.rs +++ b/crates/collab/src/user_backfiller.rs @@ -75,8 +75,8 @@ impl UserBackfiller { for user in users_missing_github_user_created_at { match self .fetch_github_user(&format!( - "https://api.github.com/users/{}", - user.github_login + "https://api.github.com/user/{}", + user.github_user_id )) .await {