diff --git a/scripts/graph/requests.ts b/scripts/graph/requests.ts index 249d10a..e08e9e3 100644 --- a/scripts/graph/requests.ts +++ b/scripts/graph/requests.ts @@ -15,7 +15,7 @@ export type CommitsResponse = { authorByHash: string[]; committerDateByHash: number[]; messageByHash: string[]; - parentsByHash: string[][]; + parentsByHash: number[][]; }; /** diff --git a/src/server/web/pages/graph.rs b/src/server/web/pages/graph.rs index 99dce60..7cc6604 100644 --- a/src/server/web/pages/graph.rs +++ b/src/server/web/pages/graph.rs @@ -66,7 +66,7 @@ struct CommitsResponse { author_by_hash: Vec, committer_date_by_hash: Vec, message_by_hash: Vec, - parents_by_hash: Vec>, + parents_by_hash: Vec>, } pub async fn get_graph_commits(