aboutsummaryrefslogtreecommitdiffstats
path: root/routers/api/v1/misc/version.go
diff options
context:
space:
mode:
authorEthan Koenig <etk39@cornell.edu>2017-05-04 01:54:56 -0400
committerLunny Xiao <xiaolunwen@gmail.com>2017-05-04 13:54:56 +0800
commita5f28a4544e51c81c793518e5231a2c2a91ebac6 (patch)
treed02657b36b7d3db899d883f6149df44e89455720 /routers/api/v1/misc/version.go
parent1773e88643a2df7e7efbe86ec424409b45a4d576 (diff)
downloadgitea-a5f28a4544e51c81c793518e5231a2c2a91ebac6.tar.gz
gitea-a5f28a4544e51c81c793518e5231a2c2a91ebac6.zip
gofmt (#1662)
Diffstat (limited to 'routers/api/v1/misc/version.go')
-rw-r--r--routers/api/v1/misc/version.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/api/v1/misc/version.go b/routers/api/v1/misc/version.go
index ed4107eb33..873326a2cc 100644
--- a/routers/api/v1/misc/version.go
+++ b/routers/api/v1/misc/version.go
@@ -23,6 +23,6 @@ func Version(ctx *context.APIContext) {
//
// Responses:
// 200: ServerVersion
-
+
ctx.JSON(200, &gitea.ServerVersion{Version: setting.AppVer})
}