From 768b67c966e9a78864b450b6051974d096f1d412 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sun, 30 May 2021 00:13:47 +0200 Subject: database: Add a way to get a single repo --- src/github.rs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/github.rs') diff --git a/src/github.rs b/src/github.rs index ec00420..8c853da 100644 --- a/src/github.rs +++ b/src/github.rs @@ -11,13 +11,13 @@ const USER_AGENT: &'static str = concat!( #[derive(Debug, Deserialize)] pub struct Repo { - id: usize, - name: String, - description: Option, - fork: bool, - git_url: String, - default_branch: String, - updated_at: String, // TODO: Maybe parse to date? + pub id: i64, + pub name: String, + pub description: Option, + pub fork: bool, + pub git_url: String, + pub default_branch: String, + pub updated_at: String, // TODO: Maybe parse to date? } -- cgit v1.2.3