From 0f74257ac5f6213b48cf3ad4567bc6edf98f4bb7 Mon Sep 17 00:00:00 2001 From: sezeme Date: Sun, 3 Aug 2025 21:00:02 +0900 Subject: [PATCH] refactor: remove log --- scripts/sync-notion.ts | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/scripts/sync-notion.ts b/scripts/sync-notion.ts index 6beac73..83e66b0 100644 --- a/scripts/sync-notion.ts +++ b/scripts/sync-notion.ts @@ -12,17 +12,9 @@ async function run() { const propStatus = "상태"; const propPR = "GitHub Pull Requests"; - // 데이터베이스 정보 받아오기 (속성 타입 포함) - const dbInfo = await notion.databases.retrieve({ database_id: dbId }); - console.log("Database properties info:", JSON.stringify(dbInfo.properties, null, 2)); - - const { pull_request: pr } = github.context.payload as any; if (!pr) throw new Error("No pull request context available"); - - console.log("pr", pr) - const branch = pr.head.ref; const prUrl = pr.html_url; const prState = pr.merged ? "완료" : pr.state === "open" ? "진행 중" : ""; @@ -50,8 +42,6 @@ async function run() { return fullId === documentId; }) - console.log("searchReasult", searchResult) - if (!searchResult) { throw new Error(`No Notion page found with ID: ${documentId}`); }