Skip to content

Commit fb41f79

Browse files
committed
fix(helpscout): switch default and unexported contact type sets
1 parent ff8be80 commit fb41f79

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎apps/sim/blocks/blocks/helpscout.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -807,7 +807,7 @@ export const HelpScoutBlock: BlockConfig = {
807807
id: 'unsnoozeOnCustomerReply',
808808
title: 'Wake on Customer Reply',
809809
type: 'switch',
810-
value: () => true,
810+
defaultValue: true,
811811
condition: { field: 'operation', value: 'snooze_conversation' },
812812
},
813813
{

‎apps/sim/tools/helpscout/utils.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -623,8 +623,8 @@ export function projectOrganization(value: unknown): HelpScoutOrganization {
623623
}
624624
}
625625

626-
export const EMAIL_TYPES = new Set(['work', 'home', 'other'])
627-
export const PHONE_TYPES = new Set(['work', 'home', 'mobile', 'fax', 'pager', 'other'])
626+
const EMAIL_TYPES = new Set(['work', 'home', 'other'])
627+
const PHONE_TYPES = new Set(['work', 'home', 'mobile', 'fax', 'pager', 'other'])
628628

629629
/** Validated `{ type, value }` customer entries for an email and phone, when supplied. */
630630
export function buildContactEntries(params: {

0 commit comments

Comments
 (0)