fix: remove redundant async wrapper in drain.ts

This commit is contained in:
Joey Krug 2026-03-21 00:28:15 -04:00
parent 1b6c43baa4
commit fddce3db72

View File

@ -77,9 +77,8 @@ function clearFollowupQueueSummaryState(queue: FollowupQueueState): void {
export async function applyDeferredMediaToQueuedRuns(items: FollowupRun[]): Promise<void> {
await Promise.allSettled(
items.map(
async (item) =>
await applyDeferredMediaUnderstandingToQueuedRun(item, { logLabel: "followup queue" }),
items.map((item) =>
applyDeferredMediaUnderstandingToQueuedRun(item, { logLabel: "followup queue" }),
),
);
}