Skip to content

Commit a55088a

Browse files
committed
Add AddQueryResource alternatives for bulk unpublish query params in Bul…
1 parent b5a3d77 commit a55088a

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Contentstack.Management.Core/Services/Stack/BulkOperation/BulkUnpublishService.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,12 @@ public BulkUnpublishService(JsonSerializer serializer, Contentstack.Management.C
3838
// Set headers based on parameters
3939
if (_skipWorkflowStage)
4040
{
41-
Headers["skip_workflow_stage_check"] = "true";
42-
// AddQueryResource("skip_workflow_stage_check", "true");
41+
AddQueryResource("skip_workflow_stage_check", "true");
4342
}
4443

4544
if (_approvals)
4645
{
47-
Headers["approvals"] = "true";
48-
// AddQueryResource("approvals", "true");
46+
AddQueryResource("approvals", "true");
4947
}
5048

5149
if (_isNested)

0 commit comments

Comments
 (0)