Skip to content

Commit 1efb2d1

Browse files
committed
fix: apiVersion param fix for InvokeSync call
1 parent e6d47ef commit 1efb2d1

File tree

1 file changed

+1
-1
lines changed
  • Contentstack.Management.Core/Models

1 file changed

+1
-1
lines changed

Contentstack.Management.Core/Models/Entry.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@ public virtual ContentstackResponse Unpublish(PublishUnpublishDetails details, s
462462
ThrowIfUidEmpty();
463463

464464
var service = new PublishUnpublishService(stack.client.serializer, stack, details, $"{resourcePath}/unpublish", "entry", locale);
465-
return stack.client.InvokeSync(service, apiVersion);
465+
return stack.client.InvokeSync(service, apiVersion: apiVersion);
466466
}
467467

468468
/// <summary>

0 commit comments

Comments
 (0)