Skip to content

Commit aef2da2

Browse files
committed
fix(brightdata): default mode field to empty so it's opt-in like other advanced params
Greptile flagged that mode shipped with a non-empty default ('standard'), causing it to be sent on every Discover call unlike the sibling dataFormat field which uses an empty/None default and only sends when the user opts in. Aligns mode with that same pattern.
1 parent 6f308d6 commit aef2da2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

apps/sim/blocks/blocks/brightdata.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,12 +143,12 @@ export const BrightDataBlock: BlockConfig<BrightDataResponse> = {
143143
title: 'Search Mode',
144144
type: 'dropdown',
145145
options: [
146-
{ label: 'Standard', id: 'standard' },
146+
{ label: 'Standard (Default)', id: '' },
147147
{ label: 'Deep', id: 'deep' },
148148
{ label: 'Fast', id: 'fast' },
149149
{ label: 'Zero Ranking', id: 'zeroRanking' },
150150
],
151-
value: () => 'standard',
151+
value: () => '',
152152
mode: 'advanced',
153153
condition: { field: 'operation', value: 'discover' },
154154
},

0 commit comments

Comments
 (0)