Skip to content

Commit

Permalink
change query number to 2
Browse files Browse the repository at this point in the history
  • Loading branch information
JimSunJing committed Dec 26, 2023
1 parent 2a31980 commit 4495e4d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@ const TOKEN = process.env.TOKEN;
const BASE_URL = "https://api.notion.com/";

// query settings
// need to think about how to adjust it
const QUERY_NUM = 3;
// QUERY_NUM: amount of notes query per time
// QUERY_KEYS: notion database header(column name) to query
const QUERY_NUM = 2;
const QUERY_KEYS = ["Name", "Intro", "Created"];

(async () => {
Expand Down

0 comments on commit 4495e4d

Please sign in to comment.