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 2294243 commit 503f018Copy full SHA for 503f018
config/config.php
@@ -10,4 +10,6 @@
10
* Your Notion API token.
11
*/
12
'notion-api-token' => env('NOTION_API_TOKEN', ''),
13
+
14
+ 'version-date' => env('NOTION_API_VERSION_DATE', '2021-05-13'),
15
];
src/Notion.php
@@ -258,7 +258,7 @@ private function mapVersionToHeaderVersion(): string
258
{
259
switch ($this->version) {
260
case 'v1':
261
- return '2021-05-13';
+ return config('laravel-notion-api.version-date', '2021-05-13');
262
default:
263
throw new HandlingException('Invalid version.');
264
}
0 commit comments