Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-25 11:16:11 +01:00

add review comment

This commit is contained in:
Michael Jerger 2024-03-19 19:28:33 +01:00
parent 84f236a58d
commit 41da150fb3

View file

@ -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)