Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

collab: Look up users using `github_user_id` when backfilling (#16708)

Marshall Bowersdb4ff7da6b3d
diff --git a/crates/collab/src/user_backfiller.rs b/crates/collab/src/user_backfiller.rs
index 83382e4ec66..5d9c4e2c163 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
{