From 4254b73a974dcbef0d1d14a94eda06bae5d312fc Mon Sep 17 00:00:00 2001 From: Jeremy Clements <79224539+jeclrsg@users.noreply.github.com> Date: Tue, 21 May 2024 16:29:44 -0400 Subject: [PATCH] fix(comms): correct wsdl generated services enum values The values of enums shouldn't be modified from how they exist in the WSDL. In this case, they were being written with white space removed, eg "Allqueries" (incorrect) instead of "All queries" (correct) Signed-off-by: Jeremy Clements <79224539+jeclrsg@users.noreply.github.com> --- packages/comms/utils/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/comms/utils/index.ts b/packages/comms/utils/index.ts index 23ec3e4a09..68493b5aa7 100644 --- a/packages/comms/utils/index.ts +++ b/packages/comms/utils/index.ts @@ -102,7 +102,7 @@ function parseEnum(enumString: string, enumEl) { }); return `${memberName} = ${member}`; } - return `${member} = "${member}"`; + return `${member} = "${v}"`; }) }; }