]> source.dussan.org Git - gitea.git/commit
fix bug when migrate repository 500 when repo is existed (#6188)
authorLunny Xiao <xiaolunwen@gmail.com>
Tue, 26 Feb 2019 14:28:56 +0000 (22:28 +0800)
committertechknowlogick <matti@mdranta.net>
Tue, 26 Feb 2019 14:28:56 +0000 (09:28 -0500)
commit7afe81f28e530c1c5aed1583654b3d772c368fa5
tree5ba60966477f6059aa94f6625292b75ba964e3b8
parent594f59169129889387d792f6aa571150d4118dc6
fix bug when migrate repository 500 when repo is existed (#6188)

* fix bug when migrate repository 500 when repo is existed

* use 409 but not 422 for error status code when not exist

* translation fix
routers/api/v1/repo/repo.go
routers/repo/repo.go