Skip to content

Commit 37e206b

Browse files
committed
fix: remove console logs
1 parent 21d4f80 commit 37e206b

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

Contentstack.Core/Models/Query.cs

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1941,25 +1941,7 @@ private async Task<JObject> Exec()
19411941
}
19421942
else
19431943
{
1944-
// console.WriteLine url, mainjson and headerAll
1945-
Console.WriteLine("==========================");
1946-
Console.WriteLine(this._Url);
1947-
1948-
foreach (var kvp in mainJson)
1949-
{
1950-
if (kvp.Key == "live_preview")
1951-
{
1952-
Console.WriteLine("mainjson==================");
1953-
Console.WriteLine($"Key: {kvp.Key}, Value: {kvp.Value}");
1954-
}
1955-
}
1956-
Console.WriteLine("headerAll==================");
1957-
foreach (var kvp in headerAll)
1958-
{
1959-
Console.WriteLine($"Key: {kvp.Key}, Value: {kvp.Value}");
1960-
}
19611944
HttpRequestHandler requestHandler = new HttpRequestHandler(this.ContentTypeInstance.StackInstance);
1962-
Console.WriteLine(_Url);
19631945
var outputResult = await requestHandler.ProcessRequest(_Url, headerAll, mainJson, Branch: this.ContentTypeInstance.StackInstance.Config.Branch, isLivePreview: isLivePreview, timeout: this.ContentTypeInstance.StackInstance.Config.Timeout);
19641946
return JObject.Parse(ContentstackConvert.ToString(outputResult, "{}"));
19651947
}

0 commit comments

Comments
 (0)