From 2a08d8ea2aa49a0cf389f31c15a44c91e213a273 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Tue, 10 Feb 2026 10:49:01 +0000 Subject: [PATCH] Normalize undefined runtime success results to null Co-authored-by: Theo Browne --- apps/t3/src/runtimeApiServer.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/t3/src/runtimeApiServer.ts b/apps/t3/src/runtimeApiServer.ts index c900bec9e2..b5c8ad28eb 100644 --- a/apps/t3/src/runtimeApiServer.ts +++ b/apps/t3/src/runtimeApiServer.ts @@ -96,7 +96,7 @@ function responseSuccess(id: string, result: unknown): WsResponseMessage { type: "response", id, ok: true, - result, + result: result === undefined ? null : result, }; }