Skip to content

Commit 20bd8f9

Browse files
authored
Merging pull request #15314
* bug fix * pnpm-lock.yaml
1 parent 0cc715b commit 20bd8f9

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

components/microsoft_outlook/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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": [

components/microsoft_outlook/sources/new-email/new-email.mjs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)