diff --git a/src/Altinn.Correspondence.Application/Helpers/InitializeCorrespondenceHelper.cs b/src/Altinn.Correspondence.Application/Helpers/InitializeCorrespondenceHelper.cs index ddbced43..13ed8ec2 100644 --- a/src/Altinn.Correspondence.Application/Helpers/InitializeCorrespondenceHelper.cs +++ b/src/Altinn.Correspondence.Application/Helpers/InitializeCorrespondenceHelper.cs @@ -151,7 +151,6 @@ public async Task, Error>> GetExistingAttachments(L foreach (var attachmentId in attachmentIds) { var attachment = await _attachmentRepository.GetAttachmentById(attachmentId, true); - if (attachment is not null) { if (attachment.Sender != sender) return Errors.InvalidSenderForAttachment;