Skip to content

Commit 1150701

Browse files
committed
fix(workday): describe the pre-hire address as address line 1 only
1 parent 1a3f3e5 commit 1150701

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

‎apps/sim/blocks/blocks/workday.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ export const WorkdayBlock: BlockConfig = {
183183
id: 'address',
184184
title: 'Address',
185185
type: 'short-input',
186-
placeholder: '123 Main St, City, State',
186+
placeholder: '123 Main St',
187187
condition: { field: 'operation', value: 'create_prehire' },
188188
mode: 'advanced',
189189
},

‎apps/sim/tools/workday/create_prehire.ts‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@ export const createPrehireTool: InternalToolConfig<
6161
type: 'string',
6262
required: false,
6363
visibility: 'user-or-llm',
64-
description: 'Address of the pre-hire',
64+
description:
65+
'Street address of the pre-hire, sent as address line 1. City, region, and postal code are not sent, so tenants whose country address rules require them will reject it',
6566
},
6667
countryCode: {
6768
type: 'string',

0 commit comments

Comments
 (0)