From ce2cb675913f5b82c012f46752ca76486ff3323b Mon Sep 17 00:00:00 2001 From: Klaus Fischer <klaus.fischer@eloware.com> Date: Wed, 12 Oct 2022 12:46:27 +0200 Subject: [PATCH] Updated Method-Name for UploadAttachment --- FitConnect/Sender.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/FitConnect/Sender.cs b/FitConnect/Sender.cs index a140a1e4..cc30c2ab 100644 --- a/FitConnect/Sender.cs +++ b/FitConnect/Sender.cs @@ -154,7 +154,7 @@ public class Sender : FitConnectClient, ISender, ISenderWithDestination, created.SubmissionId, Submission.CaseId); var encryptedAttachments = Encrypt(PublicKey!, Submission.Attachments); - UploadAttachmentsAsync(Submission.Id!, encryptedAttachments); + UploadAttachments(Submission.Id!, encryptedAttachments); return this; } @@ -251,7 +251,7 @@ public class Sender : FitConnectClient, ISender, ISenderWithDestination, /// </summary> /// <param name="submissionId">Submissions ID</param> /// <param name="encryptedAttachments">Encrypted attachments with id and content</param> - private bool UploadAttachmentsAsync(string submissionId, + private bool UploadAttachments(string submissionId, Dictionary<string, string> encryptedAttachments) { try { foreach (var (id, content) in encryptedAttachments) { -- GitLab