File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
components/microsoft_outlook Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " @pipedream/microsoft_outlook" ,
3- "version" : " 1.0.4 " ,
3+ "version" : " 1.0.5 " ,
44 "description" : " Pipedream Microsoft Outlook Components" ,
55 "main" : " microsoft_outlook.app.mjs" ,
66 "keywords" : [
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ export default {
77 key : "microsoft_outlook-new-email" ,
88 name : "New Email Event (Instant)" ,
99 description : "Emit new event when an email is received in specified folders." ,
10- version : "0.0.10 " ,
10+ version : "0.0.11 " ,
1111 type : "source" ,
1212 dedupe : "unique" ,
1313 props : {
@@ -63,8 +63,8 @@ export default {
6363 } ,
6464 async getFolderIdByName ( name ) {
6565 const { value : folders } = await this . listFolders ( ) ;
66- const { id } = folders . find ( ( { displayName } ) => displayName === name ) ;
67- return id ;
66+ const folder = folders . find ( ( { displayName } ) => displayName === name ) ;
67+ return folder ?. id ;
6868 } ,
6969 async getSampleEvents ( { pageSize } ) {
7070 const folders = this . folderIds ?. length
You can’t perform that action at this time.
0 commit comments