From dcda0caa96815fc32dd4a950719331672a97fbed Mon Sep 17 00:00:00 2001 From: mickael <mickael.mamani@hotmail.fr> Date: Sun, 20 Oct 2024 23:10:57 +0200 Subject: [PATCH] fix: the GetBatch by id should be available --- src/Custom/Batch/BatchClient.Protocol.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Custom/Batch/BatchClient.Protocol.cs b/src/Custom/Batch/BatchClient.Protocol.cs index 3bcf065f..0ebbd9af 100644 --- a/src/Custom/Batch/BatchClient.Protocol.cs +++ b/src/Custom/Batch/BatchClient.Protocol.cs @@ -102,7 +102,7 @@ public virtual CollectionResult GetBatches(string after, int? limit, RequestOpti /// <exception cref="ArgumentException"> <paramref name="batchId"/> is an empty string, and was expected to be non-empty. </exception> /// <exception cref="ClientResultException"> Service returned a non-success status code. </exception> /// <returns> The response returned from the service. </returns> - internal virtual async Task<ClientResult> GetBatchAsync(string batchId, RequestOptions options) + public virtual async Task<ClientResult> GetBatchAsync(string batchId, RequestOptions options) { Argument.AssertNotNullOrEmpty(batchId, nameof(batchId)); @@ -119,7 +119,7 @@ internal virtual async Task<ClientResult> GetBatchAsync(string batchId, RequestO /// <exception cref="ArgumentException"> <paramref name="batchId"/> is an empty string, and was expected to be non-empty. </exception> /// <exception cref="ClientResultException"> Service returned a non-success status code. </exception> /// <returns> The response returned from the service. </returns> - internal virtual ClientResult GetBatch(string batchId, RequestOptions options) + public virtual ClientResult GetBatch(string batchId, RequestOptions options) { Argument.AssertNotNullOrEmpty(batchId, nameof(batchId));