mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
* ⚡ fix * ⚡ Remove null values at node level * 🔥 Remove unused imports * ⚡ Small change Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
9 lines
183 B
TypeScript
9 lines
183 B
TypeScript
import { INodeExecutionData } from "n8n-workflow";
|
|
|
|
export const replaceNullValues = (item: INodeExecutionData) => {
|
|
if (item.json === null) {
|
|
item.json = {};
|
|
}
|
|
return item;
|
|
};
|