Radish alpha
r
Radicle web interface
Radicle
Git (anonymous pull)
Log in to clone via SSH
Fix getCommits fetch
Sebastian Martinez committed 4 years ago
commit 73f2a988c9f509d737bb5b9a51da48e39c69db74
parent 2fcab08fc8b276ef70caf4762cb134aa9422ebdf
1 file changed +1 -1
modified src/project.ts
@@ -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> {