mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-21 14:20:42 +08:00
Fix getCommits fetch
Signed-off-by: Sebastian Martinez <sebastinez@me.com>
This commit is contained in:
+1
-1
@@ -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> {
|
||||
|
||||
Reference in New Issue
Block a user