Skip to content

Commit f55893a

Browse files
committed
fix(peopledatalabs): restore location for Person Identify
Person Identify's tool accepts `location`, and the subBlock is shown for both Enrich and Identify, but the prior reset only repopulated `result.location` for Enrich — so any value entered on Identify was silently dropped before reaching the API. Addresses Greptile P1 review on PR #4513.
1 parent 9f86e74 commit f55893a

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

apps/sim/blocks/blocks/peopledatalabs.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -444,8 +444,6 @@ export const PeopleDataLabsBlock: BlockConfig<PdlPersonEnrichResponse> = {
444444

445445
if (op === 'pdl_person_enrich' || op === 'pdl_person_identify') {
446446
if (params.profile !== undefined) result.profile = params.profile
447-
}
448-
if (op === 'pdl_person_enrich') {
449447
if (params.location !== undefined) result.location = params.location
450448
}
451449
if (op === 'pdl_company_enrich') {

0 commit comments

Comments
 (0)