jellyseerr: don't attempt to apply profile if disabled

fixes #441
This commit is contained in:
Harvey Tindall
2025-11-28 16:44:03 +00:00
parent 4d58fc5f88
commit 58a3fe1f72
+3
View File
@@ -112,6 +112,9 @@ func (js *JellyseerrWrapper) ImportUser(jellyfinID string, req newUserDTO, profi
return
}
ok = true
if !profile.Jellyseerr.Enabled {
return
}
err = js.ApplyTemplateToUser(jellyfinID, profile.Jellyseerr.User)
if err != nil {
err = fmt.Errorf(lm.FailedApplyTemplate, "user", lm.Jellyseerr, jellyfinID, err)