diff --git a/notion-tools/index.js b/notion-tools/index.js index abba5ee..e28621c 100644 --- a/notion-tools/index.js +++ b/notion-tools/index.js @@ -1,10 +1,10 @@ require("dotenv").config(); const { Client } = require("@notionhq/client"); -const notion = new Client({ auth: process.env.NOTION_API_KEY }); - console.log(process.env.NOTION_API_KEY); +const notion = new Client({ auth: process.env.NOTION_API_KEY }); + (async () => { const databaseId = "aec8e648244c4b42a19d172f9fe9f1aa"; const response = await notion.databases.query({