diff --git a/frontend/src/Settings/Profiles/Release/EditReleaseProfileModalContentConnector.js b/frontend/src/Settings/Profiles/Release/EditReleaseProfileModalContentConnector.js index 7c9177194..b31e86eec 100644 --- a/frontend/src/Settings/Profiles/Release/EditReleaseProfileModalContentConnector.js +++ b/frontend/src/Settings/Profiles/Release/EditReleaseProfileModalContentConnector.js @@ -9,8 +9,8 @@ import EditReleaseProfileModalContent from './EditReleaseProfileModalContent'; const newReleaseProfile = { enabled: true, - required: '', - ignored: '', + required: [], + ignored: [], preferred: [], includePreferredWhenRenaming: false, tags: [], diff --git a/frontend/src/Settings/Profiles/Release/ReleaseProfile.js b/frontend/src/Settings/Profiles/Release/ReleaseProfile.js index 86901f8ee..b1e0693b0 100644 --- a/frontend/src/Settings/Profiles/Release/ReleaseProfile.js +++ b/frontend/src/Settings/Profiles/Release/ReleaseProfile.js @@ -197,8 +197,8 @@ ReleaseProfile.propTypes = { ReleaseProfile.defaultProps = { enabled: true, - required: '', - ignored: '', + required: [], + ignored: [], preferred: [], indexerId: 0 }; diff --git a/src/Lidarr.Api.V1/Profiles/Release/ReleaseProfileResource.cs b/src/Lidarr.Api.V1/Profiles/Release/ReleaseProfileResource.cs index 203186fa5..c66941b31 100644 --- a/src/Lidarr.Api.V1/Profiles/Release/ReleaseProfileResource.cs +++ b/src/Lidarr.Api.V1/Profiles/Release/ReleaseProfileResource.cs @@ -17,6 +17,9 @@ namespace Lidarr.Api.V1.Profiles.Release public ReleaseProfileResource() { + Required = new List(); + Ignored = new List(); + Preferred = new List>(); Tags = new HashSet(); } }