Skip to content

Commit ca198ae

Browse files
committed
fix: Rename UnPublishEntryLocales to UnpublishEntryLocales
1 parent 039d48e commit ca198ae

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Contentful.Core.Tests/ContentfulManagementClientTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6198,7 +6198,7 @@ public async Task UnPublishingEntryLocalesShouldCallCorrectUrlAndPayload(string
61986198
_handler.Response = GetResponseFromFile(@"SampleEntryManagement.json");
61996199

62006200
//Act
6201-
await _client.UnPublishEntryLocales(id, 23, locales);
6201+
await _client.UnpublishEntryLocales(id, 23, locales);
62026202

62036203
//Assert
62046204
Assert.Equal(HttpMethod.Put, requestMethod);

Contentful.Core/ContentfulManagementClient.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -785,7 +785,7 @@ public async Task<Entry<dynamic>> PublishEntryLocales(string entryId, int versio
785785
/// <returns>The response from the API serialized into <see cref="Entry{dynamic}"/></returns>
786786
/// <exception cref="ContentfulException">There was an error when communicating with the Contentful API.</exception>
787787
/// <exception cref="ArgumentException">The <paramref name="entryId"/> parameter was null or empty.</exception>
788-
public async Task<Entry<dynamic>> UnPublishEntryLocales(string entryId, int version, string[] locales, string spaceId = null, CancellationToken cancellationToken = default)
788+
public async Task<Entry<dynamic>> UnpublishEntryLocales(string entryId, int version, string[] locales, string spaceId = null, CancellationToken cancellationToken = default)
789789
{
790790
if (string.IsNullOrEmpty(entryId))
791791
{

Contentful.Core/IContentfulManagementClient.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -729,7 +729,7 @@ public interface IContentfulManagementClient
729729
/// <returns>The response from the API serialized into <see cref="Entry{dynamic}"/></returns>
730730
/// <exception cref="ContentfulException">There was an error when communicating with the Contentful API.</exception>
731731
/// <exception cref="ArgumentException">The <paramref name="entryId"/> parameter was null or empty.</exception>
732-
Task<Entry<dynamic>> UnPublishEntryLocales(string entryId, int version, string[] locales, string spaceId = null, CancellationToken cancellationToken = default);
732+
Task<Entry<dynamic>> UnpublishEntryLocales(string entryId, int version, string[] locales, string spaceId = null, CancellationToken cancellationToken = default);
733733

734734
/// <summary>
735735
/// Updates a <see cref="Contentful.Core.Models.Management.EditorInterface"/> for a specific <see cref="ContentType"/>.

0 commit comments

Comments
 (0)