File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -351,13 +351,13 @@ export class Controller {
351
351
providerConfig . apiKey ,
352
352
{ message : error . message , status : error . status } ,
353
353
) ;
354
+ return ;
354
355
}
355
356
356
357
errorLogger (
357
358
'streamContacts' ,
358
- `[${ orderingKey } ] Could not publish contacts` ,
359
+ `[${ orderingKey } ] Could not publish contacts ( ${ error } ) ` ,
359
360
providerConfig . apiKey ,
360
- error ,
361
361
) ;
362
362
}
363
363
} ;
Original file line number Diff line number Diff line change 1
1
import { z } from 'zod' ;
2
+ import { IntegrationEntityType } from '../models' ;
2
3
3
4
// export const contactsSchema: ValidationSchema = {
4
5
// title: 'Contacts',
@@ -81,6 +82,7 @@ export const contactSchema = z.object({
81
82
phoneNumber : z . string ( ) ,
82
83
} ) ,
83
84
) ,
85
+ type : z . nativeEnum ( IntegrationEntityType ) . optional ( ) ,
84
86
} ) ;
85
87
86
88
export const contactsGetSchema = z . array ( contactSchema ) ;
@@ -99,4 +101,5 @@ export const contactCreateSchema = z.object({
99
101
phoneNumber : z . string ( ) ,
100
102
} ) ,
101
103
) ,
104
+ type : z . nativeEnum ( IntegrationEntityType ) . optional ( ) ,
102
105
} ) ;
You can’t perform that action at this time.
0 commit comments