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