Skip to content
This repository was archived by the owner on Feb 16, 2019. It is now read-only.

Commit 6154cc5

Browse files
committed
Fixed ProjectionManager GetResultsAsync And GetPartitionResultsAsync
1 parent 1608905 commit 6154cc5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎src/EventStore.ClientAPI.NetCore/Projections/ProjectionsManager.cs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ public Task<string> GetPartitionStateAsync(string name, string partitionId, User
227227
public Task<string> GetResultAsync(string name, UserCredentials userCredentials = null)
228228
{
229229
Ensure.NotNullOrEmpty(name, "name");
230-
return _client.GetState(_httpEndPoint, name, userCredentials);
230+
return _client.GetResult(_httpEndPoint, name, userCredentials);
231231
}
232232

233233
/// <summary>
@@ -241,7 +241,7 @@ public Task<string> GetPartitionResultAsync(string name, string partitionId, Use
241241
{
242242
Ensure.NotNullOrEmpty(name, "name");
243243
Ensure.NotNullOrEmpty(partitionId, "partitionId");
244-
return _client.GetPartitionStateAsync(_httpEndPoint, name, partitionId, userCredentials);
244+
return _client.GetPartitionResultAsync(_httpEndPoint, name, partitionId, userCredentials);
245245
}
246246

247247
/// <summary>

0 commit comments

Comments
 (0)