addtl comment info

master
j 2024-03-31 00:18:28 -04:00
parent b4ef318182
commit dbf25c6d5c
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ class WorkflowOrchestrator {
async processComment(comment: Comment) { async processComment(comment: Comment) {
const redditUsers = CommentParser.extractUsernames(comment); const redditUsers = CommentParser.extractUsernames(comment);
if (redditUsers.length === 0) return; if (redditUsers.length === 0) return;
console.log('found:', redditUsers); console.log(`${comment.permalink} found:`, redditUsers);
await this.postCommentAndNotify(comment, redditUsers[0]); await this.postCommentAndNotify(comment, redditUsers[0]);
} }