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 9b3fbcd commit 46cb1d2Copy full SHA for 46cb1d2
Src/Notion.Client/RestClient.cs
@@ -57,6 +57,7 @@ private HttpClient EnsureHttpClient()
57
_httpClient = new HttpClient();
58
_httpClient.BaseAddress = new Uri(_options.BaseUrl);
59
_httpClient.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", _options.AuthToken);
60
+ _httpClient.DefaultRequestHeaders.Add("Notion-Version", _options.NotionVersion);
61
}
62
63
return _httpClient;
0 commit comments