diff options
-rw-r--r-- | src/commit/models.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commit/models.rs b/src/commit/models.rs index 215ab57..068c550 100644 --- a/src/commit/models.rs +++ b/src/commit/models.rs @@ -12,7 +12,7 @@ use tokio_pg_mapper_derive::PostgresMapper; /// Commit model pub struct Commit { pub hash: String, - pub tree: String, + pub tree: Option<String>, pub text: String, pub date: NaiveDateTime, pub author_email: String, // Reference to Email |