mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
feat: Upgrade nodes-base package to use modern tsconfig.json (no-changelog) (#16884)
This commit is contained in:
@@ -184,10 +184,10 @@ export const parseMessage = async (
|
||||
};
|
||||
} else {
|
||||
let content: IDataObject | string = message.content.toString();
|
||||
if (options.jsonParseBody) {
|
||||
if ('jsonParseBody' in options && options.jsonParseBody) {
|
||||
content = jsonParse(content);
|
||||
}
|
||||
if (options.onlyContent) {
|
||||
if ('onlyContent' in options && options.onlyContent) {
|
||||
return { json: content as IDataObject };
|
||||
} else {
|
||||
message.content = content as unknown as Buffer;
|
||||
|
||||
Reference in New Issue
Block a user