mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
fix: Set '@typescript-eslint/return-await' rule to 'always' for node code (no-changelog) (#8363)
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
This commit is contained in:
@@ -98,7 +98,7 @@ export class MemoryChatRetriever implements INodeType {
|
||||
const messages = await memory?.chatHistory.getMessages();
|
||||
|
||||
if (simplifyOutput && messages) {
|
||||
return this.prepareOutputData(simplifyMessages(messages));
|
||||
return await this.prepareOutputData(simplifyMessages(messages));
|
||||
}
|
||||
|
||||
const serializedMessages =
|
||||
@@ -107,6 +107,6 @@ export class MemoryChatRetriever implements INodeType {
|
||||
return { json: serializedMessage as unknown as IDataObject };
|
||||
}) ?? [];
|
||||
|
||||
return this.prepareOutputData(serializedMessages);
|
||||
return await this.prepareOutputData(serializedMessages);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -324,6 +324,6 @@ export class MemoryManager implements INodeType {
|
||||
result.push(...executionData);
|
||||
}
|
||||
|
||||
return this.prepareOutputData(result);
|
||||
return await this.prepareOutputData(result);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user