diff --git a/libs/application/template-api-modules/src/lib/modules/templates/announcement-of-death/announcement-of-death.service.ts b/libs/application/template-api-modules/src/lib/modules/templates/announcement-of-death/announcement-of-death.service.ts index 0d83f63e3779..5d0958d27374 100644 --- a/libs/application/template-api-modules/src/lib/modules/templates/announcement-of-death/announcement-of-death.service.ts +++ b/libs/application/template-api-modules/src/lib/modules/templates/announcement-of-death/announcement-of-death.service.ts @@ -12,6 +12,7 @@ import { } from '@island.is/clients/syslumenn' import { Answers as aodAnswers, + FirearmApplicant, PropertiesEnum, } from '@island.is/application/templates/announcement-of-death/types' import { NationalRegistry, RoleConfirmationEnum, PickRole } from './types' @@ -226,7 +227,12 @@ export class AnnouncementOfDeathService extends BaseTemplateApiService { firearm: answers.hadFirearms === YES ? JSON.stringify(answers.firearmApplicant) - : '', + : JSON.stringify({ + email: '', + phone: '', + name: '', + nationalId: '', + }), bankcodeSecuritiesOrShares: otherProperties.includes( PropertiesEnum.ACCOUNTS, )