Skip to content

Commit 29b926a

Browse files
committed
bug fix
1 parent 2c5f4f2 commit 29b926a

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

components/gmail/actions/create-draft/create-draft.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export default {
66
key: "gmail-create-draft",
77
name: "Create Draft",
88
description: "Create a draft from your Google Workspace email account. [See the documentation](https://developers.google.com/gmail/api/reference/rest/v1/users.drafts/create)",
9-
version: "0.1.8",
9+
version: "0.1.9",
1010
annotations: {
1111
destructiveHint: false,
1212
openWorldHint: true,

components/gmail/gmail.app.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -520,9 +520,9 @@ export default {
520520
threadId,
521521
...options
522522
} = opts;
523-
const mail = new MailComposer(options);
523+
const mail = new MailComposer(options).compile();
524524
mail.keepBcc = true;
525-
const message = await mail.compile().build();
525+
const message = await mail.build();
526526
try {
527527
const response = await this._client().users.drafts.create({
528528
userId: constants.USER_ID,

components/gmail/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pipedream/gmail",
3-
"version": "1.3.3",
3+
"version": "1.3.4",
44
"description": "Pipedream Gmail Components",
55
"main": "gmail.app.mjs",
66
"keywords": [

0 commit comments

Comments
 (0)