From 4111d6b4f2e0084dfe720626581056e3576766a6 Mon Sep 17 00:00:00 2001 From: rakeden <5896201+rakeden@users.noreply.github.com> Date: Wed, 14 Aug 2024 19:04:03 +0200 Subject: [PATCH] replace logging of notion secret --- notion-tools/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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({