This commit is contained in:
@@ -51,6 +51,15 @@ export class GiteaController {
|
||||
return this.giteaService.listCommits(owner, repo, query);
|
||||
}
|
||||
|
||||
@Get('repos/:owner/:repo/commits/:sha/diff')
|
||||
getCommitDiff(
|
||||
@Param('owner') owner: string,
|
||||
@Param('repo') repo: string,
|
||||
@Param('sha') sha: string,
|
||||
) {
|
||||
return this.giteaService.getCommitDiff(owner, repo, sha);
|
||||
}
|
||||
|
||||
@Get('repos/:owner/:repo/releases')
|
||||
listReleases(@Param('owner') owner: string, @Param('repo') repo: string) {
|
||||
return this.giteaService.listReleases(owner, repo);
|
||||
|
||||
Reference in New Issue
Block a user