Fix [API] [Bug] CreateRepo missing information (#12848)
Fix [API] [Bug] CreateRepo missing information (#12848)

* Fix [API] [Bug] CreateRepo missing information

* add code comment

Co-authored-by: Lunny Xiao <0b0704cdf8f0790c6f1df1f74c38be95a8917ed2@gmail.com>
sapk-fork/gitea,sapk-fork/gitea,cez81/gitea,sapk-fork/gitea,cez81/gitea,go-gitea/gitea,vdbt/gitea,go-gitea/gitea,cez81/gitea,go-gitea/gitea,vdbt/gitea,sapk-fork/gitea