Skip to content

Commit 8253d8b

Browse files
committed
Merge branch 'pr/29' into main
2 parents 8a1a689 + ed695ff commit 8253d8b

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

dist/notion.js

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/notion.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/notion.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,8 @@ export const Notion = async (api_key: string, database_id: string, issue: Issue)
146146
try {
147147
let res = await notion.createPage(issue.title, issue.html_url, issue.id, issue.state, issue.body);
148148
console.log(res);
149+
res = await notion.updateLabel(issue.labels, issue.id);
150+
console.log(res);
149151
} catch (error) {
150152
throw error
151153
}

0 commit comments

Comments
 (0)