refactor(core): Fix type errors in workflow, core, nodes-langchain, and nodes-base (no-changelog) (#9450)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2024-05-22 17:40:52 +02:00
committed by GitHub
parent d9616fc36f
commit 2bdc459bb2
98 changed files with 126 additions and 156 deletions

View File

@@ -325,7 +325,6 @@ export class GmailV2 implements INodeType {
attachments = await prepareEmailAttachments.call(
this,
options.attachmentsUi as IDataObject,
items,
i,
);
if (attachments.length) {
@@ -374,7 +373,7 @@ export class GmailV2 implements INodeType {
const messageIdGmail = this.getNodeParameter('messageId', i) as string;
const options = this.getNodeParameter('options', i);
responseData = await replyToEmail.call(this, items, messageIdGmail, options, i);
responseData = await replyToEmail.call(this, messageIdGmail, options, i);
}
if (operation === 'get') {
//https://developers.google.com/gmail/api/v1/reference/users/messages/get
@@ -581,7 +580,6 @@ export class GmailV2 implements INodeType {
attachments = await prepareEmailAttachments.call(
this,
options.attachmentsUi as IDataObject,
items,
i,
);
if (attachments.length) {
@@ -793,7 +791,7 @@ export class GmailV2 implements INodeType {
const messageIdGmail = this.getNodeParameter('messageId', i) as string;
const options = this.getNodeParameter('options', i);
responseData = await replyToEmail.call(this, items, messageIdGmail, options, i);
responseData = await replyToEmail.call(this, messageIdGmail, options, i);
}
if (operation === 'trash') {
//https://developers.google.com/gmail/api/reference/rest/v1/users.threads/trash