Skip to content

Commit

Permalink
replace logging of notion secret
Browse files Browse the repository at this point in the history
  • Loading branch information
rakeden committed Aug 14, 2024
1 parent 203d091 commit 4111d6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions notion-tools/index.js
Original file line number Diff line number Diff line change
@@ -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({
Expand Down

0 comments on commit 4111d6b

Please sign in to comment.