summaryrefslogtreecommitdiffstats
path: root/routers/private/default_branch.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/private/default_branch.go')
-rw-r--r--routers/private/default_branch.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/private/default_branch.go b/routers/private/default_branch.go
index 974534c219..5fdd0df735 100644
--- a/routers/private/default_branch.go
+++ b/routers/private/default_branch.go
@@ -71,5 +71,5 @@ func SetDefaultBranch(ctx *gitea_context.PrivateContext) {
})
return
}
- ctx.PlainText(http.StatusOK, []byte("success"))
+ ctx.PlainText(http.StatusOK, "success")
}