diff --git a/src/models/commits.rs b/src/models/commits.rs index f29a037a..89465e67 100644 --- a/src/models/commits.rs +++ b/src/models/commits.rs @@ -16,7 +16,7 @@ pub struct Comment { #[serde(skip_serializing_if = "Option::is_none")] pub line: Option, pub commit_id: String, - pub user: User, + pub user: Author, pub created_at: chrono::DateTime, #[serde(skip_serializing_if = "Option::is_none")] pub updated_at: Option>,