Skip to content

Commit

Permalink
Merging pull request #15314
Browse files Browse the repository at this point in the history
* bug fix

* pnpm-lock.yaml
  • Loading branch information
michelle0927 authored Jan 16, 2025
1 parent 0cc715b commit 20bd8f9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion components/microsoft_outlook/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pipedream/microsoft_outlook",
"version": "1.0.4",
"version": "1.0.5",
"description": "Pipedream Microsoft Outlook Components",
"main": "microsoft_outlook.app.mjs",
"keywords": [
Expand Down
6 changes: 3 additions & 3 deletions components/microsoft_outlook/sources/new-email/new-email.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default {
key: "microsoft_outlook-new-email",
name: "New Email Event (Instant)",
description: "Emit new event when an email is received in specified folders.",
version: "0.0.10",
version: "0.0.11",
type: "source",
dedupe: "unique",
props: {
Expand Down Expand Up @@ -63,8 +63,8 @@ export default {
},
async getFolderIdByName(name) {
const { value: folders } = await this.listFolders();
const { id } = folders.find(({ displayName }) => displayName === name);
return id;
const folder = folders.find(({ displayName }) => displayName === name);
return folder?.id;
},
async getSampleEvents({ pageSize }) {
const folders = this.folderIds?.length
Expand Down

0 comments on commit 20bd8f9

Please sign in to comment.