From f6c2c8c3dad19d85a3296358889ebf73438a33ff Mon Sep 17 00:00:00 2001 From: Benjamin DeMann Date: Fri, 12 Jul 2024 16:08:05 -0600 Subject: [PATCH] pr fix --- src/lib/stable/execute_with_candid_serde.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/lib/stable/execute_with_candid_serde.ts b/src/lib/stable/execute_with_candid_serde.ts index ee89c40c12..6a5d28a813 100644 --- a/src/lib/stable/execute_with_candid_serde.ts +++ b/src/lib/stable/execute_with_candid_serde.ts @@ -35,7 +35,9 @@ export function executeWithCandidSerde( ) { result .then((result: any) => { - reply({ data: result, idl: returnIdl }); + if (!manual) { + reply({ data: result, idl: returnIdl }); + } }) .catch((error: any) => { handleUncaughtError(error);