Skip to content
Prev Previous commit
Next Next commit
Fixed URL in CompactCollectionDataAsync
  • Loading branch information
tjoubert committed Mar 31, 2022
commit 5d2158b3793c17cb057e6ba574d6ad5c6d0f911e
2 changes: 1 addition & 1 deletion arangodb-net-standard/CollectionApi/CollectionApiClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ public virtual async Task<CompactCollectionDataResponse> CompactCollectionDataAs
{
throw new System.ArgumentNullException("collectionName", "collectionName is required");
}
string uriString = _collectionApiPath + "/" + WebUtility.UrlEncode(collectionName) + "/shards?details=true";
string uriString = _collectionApiPath + "/" + WebUtility.UrlEncode(collectionName) + "/compact";
using (var response = await _transport.PutAsync(uriString, new byte[] { }).ConfigureAwait(false))
{
if (response.IsSuccessStatusCode)
Expand Down