]> source.dussan.org Git - gitea.git/commit
An attempt to sync a non-mirror repo must give 400 (Bad Request) (#19300)
authorPeter Gardfjäll <peter.gardfjall.work@gmail.com>
Fri, 1 Apr 2022 18:29:57 +0000 (20:29 +0200)
committerGitHub <noreply@github.com>
Fri, 1 Apr 2022 18:29:57 +0000 (14:29 -0400)
commit43ff92e122550e2d7cc15e23402fc1a7c8e39e88
tree2ed80e7b06041cc7225da0984ab4b8a6809e3d3a
parent4f27c289472a4cfafb5a9b0e38e6a3413c30c562
An attempt to sync a non-mirror repo must give 400 (Bad Request) (#19300)

* An attempt to sync a non-mirror repo must give 400 (Bad Request)

* add missing return statement

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
integrations/api_repo_test.go
routers/api/v1/repo/mirror.go