Fix getCommits fetch

Signed-off-by: Sebastian Martinez <sebastinez@me.com>
This commit is contained in:
Sebastian Martinez
2022-02-22 16:37:28 +01:00
committed by Alexis Sellier
parent 2fcab08fc8
commit 73f2a988c9
+1 -1
View File
@@ -263,7 +263,7 @@ export class Project implements ProjectInfo {
}
async getCommits(commit: string): Promise<CommitsHistory> {
return api.get(`projects/${this.urn}/commits?from=${commit}`, {}, this.seed.api);
return api.get(`projects/${this.urn}/commits?parent=${commit}`, {}, this.seed.api);
}
async getCommit(commit: string): Promise<Commit> {