frontend/src/app/features/user-preferences/state/notification-setting.model.ts
Function buildNotificationSetting
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function buildNotificationSetting(project:null|HalSourceLink, params:Partial<INotificationSetting>):INotificationSetting {
return {
_links: {
project: {
href: project ? project.href : null,