diff options
Diffstat (limited to 'internal/route/api/v1/repo/branch.go')
-rw-r--r-- | internal/route/api/v1/repo/branch.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/route/api/v1/repo/branch.go b/internal/route/api/v1/repo/branch.go index 3ddf62cc..eb19c657 100644 --- a/internal/route/api/v1/repo/branch.go +++ b/internal/route/api/v1/repo/branch.go @@ -25,7 +25,7 @@ func GetBranch(c *context.APIContext) { return } - c.JSONSuccess( convert.ToBranch(branch, commit)) + c.JSONSuccess(convert.ToBranch(branch, commit)) } // https://github.com/gogs/go-gogs-client/wiki/Repositories#list-branches @@ -46,5 +46,5 @@ func ListBranches(c *context.APIContext) { apiBranches[i] = convert.ToBranch(branches[i], commit) } - c.JSONSuccess( &apiBranches) + c.JSONSuccess(&apiBranches) } |