Skip to content

Commit 90def59

Browse files
committed
ack comments
1 parent f0a3af4 commit 90def59

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

apps/sim/app/api/help/route.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ export async function POST(req: NextRequest) {
8484
Type: ${type}
8585
From: ${email}
8686
User ID: ${userId}
87-
Workspace ID: ${workspaceId}
87+
Workspace ID: ${workspaceId ?? 'N/A'}
8888
Workflow ID: ${workflowId ?? 'N/A'}
8989
Browser: ${userAgent ?? 'N/A'}
9090

apps/sim/tools/params.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -616,6 +616,7 @@ export function deepMergeInputMapping(
616616

617617
for (const [key, userValue] of Object.entries(parsedUserMapping)) {
618618
// Only override LLM value if user provided a non-empty value
619+
// Note: Using strict inequality (===) so 0 and false are correctly preserved
619620
if (userValue !== undefined && userValue !== null && userValue !== '') {
620621
merged[key] = userValue
621622
}

0 commit comments

Comments
 (0)