Fix type of parentsByHash field
This commit is contained in:
parent
848c4ad019
commit
e1261aea96
2 changed files with 2 additions and 2 deletions
|
|
@ -15,7 +15,7 @@ export type CommitsResponse = {
|
||||||
authorByHash: string[];
|
authorByHash: string[];
|
||||||
committerDateByHash: number[];
|
committerDateByHash: number[];
|
||||||
messageByHash: string[];
|
messageByHash: string[];
|
||||||
parentsByHash: string[][];
|
parentsByHash: number[][];
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -66,7 +66,7 @@ struct CommitsResponse {
|
||||||
author_by_hash: Vec<String>,
|
author_by_hash: Vec<String>,
|
||||||
committer_date_by_hash: Vec<i64>,
|
committer_date_by_hash: Vec<i64>,
|
||||||
message_by_hash: Vec<String>,
|
message_by_hash: Vec<String>,
|
||||||
parents_by_hash: Vec<Vec<String>>,
|
parents_by_hash: Vec<Vec<usize>>,
|
||||||
}
|
}
|
||||||
|
|
||||||
pub async fn get_graph_commits(
|
pub async fn get_graph_commits(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue