mirror of
https://codeberg.org/davrot/forgejo.git
synced 2025-05-20 14:00:04 +02:00
Mirror updates
This commit is contained in:
parent
b32e223db5
commit
eda3f8b3b3
7 changed files with 34 additions and 22 deletions
|
@ -340,6 +340,7 @@ func SettingPost(ctx *middleware.Context) {
|
|||
}
|
||||
ctx.Repo.Repository.Description = ctx.Query("desc")
|
||||
ctx.Repo.Repository.Website = ctx.Query("site")
|
||||
ctx.Repo.Repository.IsPrivate = ctx.Query("private") == "on"
|
||||
ctx.Repo.Repository.IsGoget = ctx.Query("goget") == "on"
|
||||
if err := models.UpdateRepository(ctx.Repo.Repository); err != nil {
|
||||
ctx.Handle(404, "repo.SettingPost(update)", err)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue