|
|
|
@ -629,7 +629,7 @@ 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.MaxDownloadConcurrency
|
|
|
|
|
model.MaxDownloadConcurrency,
|
|
|
|
|
)
|
|
|
|
|
if err == nil {
|
|
|
|
|
c.JSON(200, gin.H{"message": "Success"})
|
|
|
|
|