Logs: Fix mismatch between audit log placeholders and parameters

Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
Michael Mayer
2025-10-19 09:03:07 +02:00
parent 1ba41b6656
commit 1c0f68aa39
2 changed files with 2 additions and 2 deletions

View File

@@ -68,7 +68,7 @@ func ClusterGetTheme(router *gin.RouterGroup) {
// Resolve symbolic links.
if resolved, err := filepath.EvalSymlinks(themePath); err != nil {
event.AuditWarn([]string{clientIp, "session %s", string(acl.ResourceCluster), "theme", "download", "failed to resolve path"}, refID, clean.Error(err))
event.AuditWarn([]string{clientIp, "session %s", string(acl.ResourceCluster), "theme", "download", "%s"}, refID, clean.Error(err))
AbortNotFound(c)
return
} else {