mirror of
https://github.com/truewhile/MeBox.git
synced 2026-10-03 20:26:36 +08:00
fix cloud library mounts and artwork caching
This commit is contained in:
@@ -53,6 +53,9 @@ func saveStorageConfigHandler(svc *service.Container) gin.HandlerFunc {
|
||||
c.JSON(http.StatusInternalServerError, gin.H{"error": err.Error()})
|
||||
return
|
||||
}
|
||||
if in.Enabled != nil && !*in.Enabled && svc.Scan != nil {
|
||||
_ = svc.Scan.CancelCloudScansForProvider(in.Type)
|
||||
}
|
||||
c.JSON(http.StatusOK, row)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user