From 178b845e569256f1f2449886dcd26fbbc5fdb57f Mon Sep 17 00:00:00 2001 From: Hammerbeck Date: Thu, 14 Nov 2024 11:13:34 +0100 Subject: [PATCH] remove space --- .../Helpers/InitializeCorrespondenceHelper.cs | 1 - 1 file changed, 1 deletion(-) 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;