Skip to content

Commit

Permalink
remove logging
Browse files Browse the repository at this point in the history
  • Loading branch information
marcustyphoon committed Dec 9, 2024
1 parent 75d0e93 commit 2b4e94b
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/features/quote_replies.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,16 +59,13 @@ const processNotifications = notifications => notifications.forEach(async notifi
const quoteGenericReply = async (tumblelogName, notificationProps) => {
const uuid = userBlogs.find(({ name }) => name === tumblelogName).uuid;

console.log({ tumblelogName, notificationProps });

const {
title: { textContent: titleContent },
body: { content: [bodyDescriptionContent, bodyQuoteContent] },
actions
} = notificationProps;

const replyingBlog = titleContent.formatting.find(({ type }) => type === 'mention').blog;
console.log({ replyingBlog });

const toConvertToLink = bodyDescriptionContent.formatting.find(({ type }) => type === 'semantic_color');

Expand All @@ -94,8 +91,6 @@ const quoteGenericReply = async (tumblelogName, notificationProps) => {
...tagReplyingBlog ? [replyingBlog.name] : []
].join(',');

console.log({ content, tags });

createDraft({ uuid, content, tags, tumblelogName });
};

Expand Down

0 comments on commit 2b4e94b

Please sign in to comment.