Skip to content

Commit 6084fa7

Browse files
committed
chore: cargo update rust_team_data
This version of rust_team_data gets the license data right. Also update type of GitHub user ID from usize to u64 accordingly.
1 parent dd649a7 commit 6084fa7

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

site/src/api.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,7 @@ pub mod github {
507507

508508
#[derive(Debug, PartialEq, Clone, Serialize, Deserialize)]
509509
pub struct User {
510-
pub id: usize,
510+
pub id: u64,
511511
}
512512

513513
#[derive(Debug, Clone, Serialize, Deserialize)]

site/src/request_handlers/github.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ fn build_captures(comment_body: &str) -> impl Iterator<Item = (&str, regex::Capt
177177
})
178178
}
179179

180-
pub async fn get_authorized_users() -> Result<Vec<usize>, String> {
180+
pub async fn get_authorized_users() -> Result<Vec<u64>, String> {
181181
let url = format!("{}/permissions/perf.json", ::rust_team_data::v1::BASE_URL);
182182
let client = reqwest::Client::new();
183183
client

0 commit comments

Comments
 (0)