Skip to content

Commit

Permalink
Set settings to nil
Browse files Browse the repository at this point in the history
  • Loading branch information
duedares-rvj committed Oct 7, 2024
1 parent 3940464 commit 55d6bab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions management/email_provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,7 @@ func (ep *EmailProvider) UnmarshalJSON(b []byte) error {
case EmailProviderCustom:
credentials = &EmailProviderCredentialsCustom{}
// No settings for custom.
settings = nil
case "":
credentials = nil
settings = nil
Expand Down

0 comments on commit 55d6bab

Please sign in to comment.