|
|
@ -628,7 +628,9 @@ func UpdateSetting(c *gin.Context) {
|
|
|
|
|
|
|
|
|
|
|
|
err = service.UpdateSettings(model.DownloadOnAdd, model.InitialDownloadCount,
|
|
|
|
err = service.UpdateSettings(model.DownloadOnAdd, model.InitialDownloadCount,
|
|
|
|
model.AutoDownload, model.AppendDateToFileName, model.AppendEpisodeNumberToFileName,
|
|
|
|
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 {
|
|
|
|
if err == nil {
|
|
|
|
c.JSON(200, gin.H{"message": "Success"})
|
|
|
|
c.JSON(200, gin.H{"message": "Success"})
|
|
|
|
|
|
|
|
|
|
|
|