Skip to content

fix: prevent settings from being overwritten on load (#4291)#4299

Open
AmGarera wants to merge 1 commit intosct:developfrom
AmGarera:claude/bug-fixes-fix-issue-4291-01DXRVTj2tZJp4cMm43aXDPb
Open

fix: prevent settings from being overwritten on load (#4291)#4299
AmGarera wants to merge 1 commit intosct:developfrom
AmGarera:claude/bug-fixes-fix-issue-4291-01DXRVTj2tZJp4cMm43aXDPb

Conversation

@AmGarera
Copy link

@AmGarera AmGarera commented Dec 3, 2025

Remove automatic save call in Settings.load() method that was causing notification settings (particularly webhook URLs) to be unexpectedly overwritten after server restarts.

The load() method was automatically saving settings after merging with defaults, which could cause user configurations to be replaced with default or previously cached values due to the merge behavior.

Fixes #4291

Description

Screenshot (if UI-related)

To-Dos

  • Successful build yarn build
  • Translation keys yarn i18n:extract
  • Database migration (if required)

Issues Fixed or Closed

  • Fixes #XXXX

Remove automatic save call in Settings.load() method that was causing
notification settings (particularly webhook URLs) to be unexpectedly
overwritten after server restarts.

The load() method was automatically saving settings after merging with
defaults, which could cause user configurations to be replaced with
default or previously cached values due to the merge behavior.

Fixes sct#4291
@stale
Copy link

stale bot commented Feb 4, 2026

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Feb 4, 2026
@AmGarera
Copy link
Author

AmGarera commented Feb 4, 2026

Bump

@stale stale bot removed the stale label Feb 4, 2026
@fallenbagel
Copy link
Contributor

Bump

Hi. This repo is no longer maintained. If the issue that this PR solves exists in https://github.com/seerr-team/seerr, please redirect your PR there. This repo is no longer maintained 😅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

webhook notification url always change

3 participants