From a000d19d029d7ac4f16832837d3987c0fdda9543 Mon Sep 17 00:00:00 2001 From: James Luck Date: Sat, 11 Jun 2022 14:57:44 +1000 Subject: [PATCH] Forgot to pass argument in single place --- controllers/podcast.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/controllers/podcast.go b/controllers/podcast.go index de692e8..cb114ef 100644 --- a/controllers/podcast.go +++ b/controllers/podcast.go @@ -628,7 +628,9 @@ func UpdateSetting(c *gin.Context) { err = service.UpdateSettings(model.DownloadOnAdd, model.InitialDownloadCount, model.AutoDownload, model.AppendDateToFileName, model.AppendEpisodeNumberToFileName, - model.DarkMode, model.DownloadEpisodeImages, model.GenerateNFOFile, model.DontDownloadDeletedFromDisk, model.BaseUrl) + model.DarkMode, model.DownloadEpisodeImages, model.GenerateNFOFile, model.DontDownloadDeletedFromDisk, model.BaseUrl, + model.MaxDownloadConcurrency + ) if err == nil { c.JSON(200, gin.H{"message": "Success"})