Skip to content

Commit e5cb641

Browse files
committed
fix(integrations): keep a zero SAP top/skip and fall back consistently for the monday column value
1 parent 98a200f commit e5cb641

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎apps/sim/blocks/blocks/monday.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,7 @@ export const MondayBlock: BlockConfig = {
577577
boardId: params.boardId,
578578
itemId: params.itemId,
579579
columnId: params.columnId,
580-
value: params.columnValue ?? toolCallArg(context, params.value),
580+
value: params.columnValue || toolCallArg(context, params.value),
581581
createLabelsIfMissing: Boolean(params.createLabelsIfMissing),
582582
}
583583
case 'duplicate_item':

‎apps/sim/blocks/blocks/sap_s4hana.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1069,8 +1069,8 @@ Return ONLY the JSON array - no explanations, no extra text.`,
10691069
}
10701070
const listFields = {
10711071
filter: params.filter || undefined,
1072-
top: params.top ? Number(params.top) : undefined,
1073-
skip: params.skip ? Number(params.skip) : undefined,
1072+
top: params.top != null && params.top !== '' ? Number(params.top) : undefined,
1073+
skip: params.skip != null && params.skip !== '' ? Number(params.skip) : undefined,
10741074
orderBy: params.orderBy || undefined,
10751075
select: params.select || undefined,
10761076
expand: params.expand || undefined,

0 commit comments

Comments
 (0)