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 1
1
{
2
2
"name" : " @pipedream/microsoft_outlook" ,
3
- "version" : " 1.0.4 " ,
3
+ "version" : " 1.0.5 " ,
4
4
"description" : " Pipedream Microsoft Outlook Components" ,
5
5
"main" : " microsoft_outlook.app.mjs" ,
6
6
"keywords" : [
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ export default {
7
7
key : "microsoft_outlook-new-email" ,
8
8
name : "New Email Event (Instant)" ,
9
9
description : "Emit new event when an email is received in specified folders." ,
10
- version : "0.0.10 " ,
10
+ version : "0.0.11 " ,
11
11
type : "source" ,
12
12
dedupe : "unique" ,
13
13
props : {
@@ -63,8 +63,8 @@ export default {
63
63
} ,
64
64
async getFolderIdByName ( name ) {
65
65
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 ;
68
68
} ,
69
69
async getSampleEvents ( { pageSize } ) {
70
70
const folders = this . folderIds ?. length
You can’t perform that action at this time.
0 commit comments