This commit is contained in:
Ashwin Bhat
2025-08-29 06:27:32 -07:00
parent 58f690f120
commit be270e23eb

View File

@@ -59,7 +59,7 @@ function filterCommentsToTriggerTime<
// Comment must have been created before trigger
const createdTimestamp = new Date(comment.createdAt).getTime();
if (createdTimestamp > triggerTimestamp) {
console.log("filtering", comment);
console.log("filtering for creation time", comment);
return false;
}
@@ -69,6 +69,7 @@ function filterCommentsToTriggerTime<
if (lastEditTime) {
const lastEditTimestamp = new Date(lastEditTime).getTime();
if (lastEditTimestamp > triggerTimestamp) {
console.log("filtering for last edit time", comment);
return false;
}
}