Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
elie222 committed Jan 5, 2025
1 parent cbf17de commit ca9fdd1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/web/utils/queue/email-actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import type { Thread } from "@/components/email-list/types";
import { isDefined } from "@/utils/types";
import { aiQueue } from "@/utils/queue/ai-queue";

export const runAiRules = async (threadsArray: Thread[], force: boolean) => {
export const runAiRules = async (threadsArray: Thread[], rerun: boolean) => {
const threads = threadsArray.filter(isDefined);
const threadIds = threads.map((t) => t.id);
pushToAiQueueAtom(threadIds);
Expand All @@ -18,7 +18,7 @@ export const runAiRules = async (threadsArray: Thread[], force: boolean) => {
await runRulesAction({
messageId: message.id,
threadId: thread.id,
force,
rerun,
isTest: false,
});
removeFromAiQueueAtom(thread.id);
Expand Down

0 comments on commit ca9fdd1

Please sign in to comment.