Skip to content

Commit 2ae7d06

Browse files
fix: the GetBatch by id should be available (#262)
1 parent 8b137a1 commit 2ae7d06

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Custom/Batch/BatchClient.Protocol.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ public virtual CollectionResult GetBatches(string after, int? limit, RequestOpti
104104
/// <exception cref="ArgumentException"> <paramref name="batchId"/> is an empty string, and was expected to be non-empty. </exception>
105105
/// <exception cref="ClientResultException"> Service returned a non-success status code. </exception>
106106
/// <returns> The response returned from the service. </returns>
107-
internal virtual async Task<ClientResult> GetBatchAsync(string batchId, RequestOptions options)
107+
public virtual async Task<ClientResult> GetBatchAsync(string batchId, RequestOptions options)
108108
{
109109
Argument.AssertNotNullOrEmpty(batchId, nameof(batchId));
110110

@@ -121,7 +121,7 @@ internal virtual async Task<ClientResult> GetBatchAsync(string batchId, RequestO
121121
/// <exception cref="ArgumentException"> <paramref name="batchId"/> is an empty string, and was expected to be non-empty. </exception>
122122
/// <exception cref="ClientResultException"> Service returned a non-success status code. </exception>
123123
/// <returns> The response returned from the service. </returns>
124-
internal virtual ClientResult GetBatch(string batchId, RequestOptions options)
124+
public virtual ClientResult GetBatch(string batchId, RequestOptions options)
125125
{
126126
Argument.AssertNotNullOrEmpty(batchId, nameof(batchId));
127127

0 commit comments

Comments
 (0)