mirror of
https://github.com/photoprism/photoprism.git
synced 2025-12-12 00:34:13 +01:00
Backups: Refactor config and add "sidecar-yaml" config option #4243
Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
@@ -44,7 +44,7 @@ func LikePhoto(router *gin.RouterGroup) {
|
||||
return
|
||||
}
|
||||
|
||||
SavePhotoAsYaml(&m)
|
||||
SaveSidecarYaml(&m)
|
||||
PublishPhotoEvent(StatusUpdated, id, c)
|
||||
}
|
||||
|
||||
@@ -84,7 +84,7 @@ func DislikePhoto(router *gin.RouterGroup) {
|
||||
return
|
||||
}
|
||||
|
||||
SavePhotoAsYaml(&m)
|
||||
SaveSidecarYaml(&m)
|
||||
PublishPhotoEvent(StatusUpdated, id, c)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user