mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-21 21:27:13 +00:00
add review comment
This commit is contained in:
parent
84f236a58d
commit
41da150fb3
|
@ -194,6 +194,8 @@ func SettingsPost(ctx *context.Context) {
|
|||
// ToDo: Proper string handling
|
||||
log.Info("web/repo/setting.go:Federation was detected as enabled.")
|
||||
// ToDo: Ability to delete repos
|
||||
// TODO: Review jem: no add and remove - just set
|
||||
// repo.FederationRepos = form.FederationRepos
|
||||
repo.FederationRepos = repo.FederationRepos + form.FederationRepos
|
||||
if err := repo_service.UpdateRepository(ctx, repo, false); err != nil {
|
||||
ctx.ServerError("UpdateRepository", err)
|
||||
|
|
Loading…
Reference in a new issue