diff options
author | Pietro Albini <pietro@pietroalbini.org> | 2019-07-12 16:40:40 +0200 |
---|---|---|
committer | Pietro Albini <pietro@pietroalbini.org> | 2019-07-13 21:45:20 +0200 |
commit | b8f0a391fedb4fb817c04ff4907336e1eece2214 (patch) | |
tree | 079b575a19716a0f88022d5b0a21bc677376f1e8 /rust_team_data | |
parent | 5bf01b4b591afebc978123e27ab682945fd215a8 (diff) |
add github ids to the api
Diffstat (limited to 'rust_team_data')
-rw-r--r-- | rust_team_data/src/v1.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/rust_team_data/src/v1.rs b/rust_team_data/src/v1.rs index 50edebd..839c66d 100644 --- a/rust_team_data/src/v1.rs +++ b/rust_team_data/src/v1.rs @@ -23,6 +23,7 @@ pub struct Team { pub struct TeamMember { pub name: String, pub github: String, + pub github_id: usize, pub is_lead: bool, } @@ -63,6 +64,7 @@ pub struct Lists { #[derive(Debug, Clone, Serialize, Deserialize)] pub struct Permission { pub github_users: Vec<String>, + pub github_ids: Vec<usize>, } #[derive(Debug, Clone, Serialize, Deserialize)] |