From e8381d53410f189defa527f0492dcc6967d39bf3 Mon Sep 17 00:00:00 2001 From: Eric Allam Date: Mon, 11 Mar 2024 15:43:45 +0000 Subject: [PATCH] v3: Correctly handle tasks that have no output when resuming --- apps/webapp/app/v3/marqs/sharedQueueConsumer.server.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/webapp/app/v3/marqs/sharedQueueConsumer.server.ts b/apps/webapp/app/v3/marqs/sharedQueueConsumer.server.ts index 69d848385..b57b5ec40 100644 --- a/apps/webapp/app/v3/marqs/sharedQueueConsumer.server.ts +++ b/apps/webapp/app/v3/marqs/sharedQueueConsumer.server.ts @@ -786,7 +786,7 @@ class SharedQueueTasks { const success: TaskRunSuccessfulExecutionResult = { ok, id: attempt.friendlyId, - output: attempt.output ?? "", + output: attempt.output ?? undefined, outputType: attempt.outputType, }; return success;