fix: remove redundant async wrapper in drain.ts
This commit is contained in:
parent
1b6c43baa4
commit
fddce3db72
@ -77,9 +77,8 @@ function clearFollowupQueueSummaryState(queue: FollowupQueueState): void {
|
|||||||
|
|
||||||
export async function applyDeferredMediaToQueuedRuns(items: FollowupRun[]): Promise<void> {
|
export async function applyDeferredMediaToQueuedRuns(items: FollowupRun[]): Promise<void> {
|
||||||
await Promise.allSettled(
|
await Promise.allSettled(
|
||||||
items.map(
|
items.map((item) =>
|
||||||
async (item) =>
|
applyDeferredMediaUnderstandingToQueuedRun(item, { logLabel: "followup queue" }),
|
||||||
await applyDeferredMediaUnderstandingToQueuedRun(item, { logLabel: "followup queue" }),
|
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user