Skip to content

Commit

Permalink
fix: 로그 삭제
Browse files Browse the repository at this point in the history
  • Loading branch information
ppinkypeach committed Feb 8, 2024
1 parent 70bc276 commit 8484cab
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
4 changes: 0 additions & 4 deletions server/notion/blog/notionPage/uploadBlogToNotion.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,9 @@ export async function uploadBlogToNotion(blogName: string, blogUrl: string, user
}
};

console.log('Notion API 요청:', JSON.stringify(pageCreateRequest, null, 3));

try {
const response = await notion.pages.create(pageCreateRequest);
console.log('Page created with ID:', response.id);
const notionPageUrl = `https://www.notion.so/${response.id.replace(/-/g, '')}`;
console.log('Page URL:', notionPageUrl);
return { notionUrl: notionPageUrl };
} catch (error) {
console.error('Notion API 호출 중 오류 발생:', error);
Expand Down
1 change: 0 additions & 1 deletion server/scheduler/sendBlogInfoToSlackChannel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import { WebClient } from "@slack/web-api";
const slackClient = new WebClient(process.env.SLACK_BOT_TOKEN);

exports.handler = async(event: any) => {
console.log('매주 월요일 오전 9시에 실행되는 스케줄러 시작');
try {
const startFilterDate = new Date();
const endFilterDate = new Date();
Expand Down

0 comments on commit 8484cab

Please sign in to comment.