]> source.dussan.org Git - gitea.git/commit
Simplify mirror repository API logic (#30963) (#31009)
authorGiteabot <teabot@gitea.io>
Sat, 18 May 2024 08:26:20 +0000 (16:26 +0800)
committerGitHub <noreply@github.com>
Sat, 18 May 2024 08:26:20 +0000 (08:26 +0000)
commit8eac16de217978c1f7034f8e360f54d8d638e95e
treed9b8948329bffbe479f50833f9a2cba7027b6181
parentbd3787c774adbbb0c7df834f5d4615dc795e7f6c
Simplify mirror repository API logic (#30963) (#31009)

Backport #30963 by wxiaoguang

Fix #30921

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
modules/structs/repo.go
routers/api/v1/repo/repo.go
templates/swagger/v1_json.tmpl