diff options
Diffstat (limited to 'internal/route/repo')
-rw-r--r-- | internal/route/repo/branch.go | 4 | ||||
-rw-r--r-- | internal/route/repo/release.go | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/internal/route/repo/branch.go b/internal/route/repo/branch.go index 17630554..dd2508dd 100644 --- a/internal/route/repo/branch.go +++ b/internal/route/repo/branch.go @@ -91,7 +91,7 @@ func Branches(c *context.Context) { c.Data["ActiveBranches"] = activeBranches c.Data["StaleBranches"] = staleBranches - c.Success( BRANCHES_OVERVIEW) + c.Success(BRANCHES_OVERVIEW) } func AllBranches(c *context.Context) { @@ -104,7 +104,7 @@ func AllBranches(c *context.Context) { } c.Data["Branches"] = branches - c.Success( BRANCHES_ALL) + c.Success(BRANCHES_ALL) } func DeleteBranchPost(c *context.Context) { diff --git a/internal/route/repo/release.go b/internal/route/repo/release.go index 0aeace9a..1b3de8a5 100644 --- a/internal/route/repo/release.go +++ b/internal/route/repo/release.go @@ -320,7 +320,7 @@ func DeleteRelease(c *context.Context) { c.Flash.Success(c.Tr("repo.release.deletion_success")) } - c.JSONSuccess( map[string]interface{}{ + c.JSONSuccess(map[string]interface{}{ "redirect": c.Repo.RepoLink + "/releases", }) } |