We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4625b19 commit fc4a269Copy full SHA for fc4a269
src/Scrapegraphai/ParamsBase.cs
@@ -149,6 +149,9 @@ protected string QueryString(IScrapegraphaiClient client)
149
150
protected static void AddDefaultHeaders(HttpRequestMessage request, IScrapegraphaiClient client)
151
{
152
- request.Headers.Add("SGAI-APIKEY", client.APIKey);
+ if (client.APIKey != null)
153
+ {
154
+ request.Headers.Add("SGAI-APIKEY", client.APIKey);
155
+ }
156
}
157
0 commit comments