From 41da150fb3bd2fece58c7045e9d08388a3af3c8a Mon Sep 17 00:00:00 2001 From: Michael Jerger Date: Tue, 19 Mar 2024 19:28:33 +0100 Subject: [PATCH] add review comment --- routers/web/repo/setting/setting.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/routers/web/repo/setting/setting.go b/routers/web/repo/setting/setting.go index 34dfb97684..8f9c1ba989 100644 --- a/routers/web/repo/setting/setting.go +++ b/routers/web/repo/setting/setting.go @@ -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)