Skip to content

Commit 598acb6

Browse files
committed
fix(zoho-desk): serialize account revenue as decimal text
1 parent 3a83f35 commit 598acb6

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎apps/sim/tools/zoho_desk/create_account.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ export const zohoDeskCreateAccountTool: ToolConfig<
140140
cf: parseZohoDeskJson(params.accountCustomFields, 'accountCustomFields', 'object'),
141141
city: params.accountCity,
142142
street: params.accountStreet,
143-
annualrevenue: params.accountAnnualrevenue,
143+
annualrevenue: params.accountAnnualrevenue?.toString(),
144144
description: params.accountDescription,
145145
industry: params.accountIndustry,
146146
state: params.accountState,

‎apps/sim/tools/zoho_desk/update_account.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ export const zohoDeskUpdateAccountTool: ToolConfig<
147147
cf: parseZohoDeskJson(params.accountCustomFields, 'accountCustomFields', 'object'),
148148
city: params.accountCity,
149149
street: params.accountStreet,
150-
annualrevenue: params.accountAnnualrevenue,
150+
annualrevenue: params.accountAnnualrevenue?.toString(),
151151
description: params.accountDescription,
152152
industry: params.accountIndustry,
153153
state: params.accountState,

0 commit comments

Comments
 (0)