mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-10 22:54:05 -08:00
91d7e16c81
* 🔨 formatting nodes with prettier
9 lines
182 B
TypeScript
9 lines
182 B
TypeScript
import { INodeExecutionData } from 'n8n-workflow';
|
|
|
|
export const replaceNullValues = (item: INodeExecutionData) => {
|
|
if (item.json === null) {
|
|
item.json = {};
|
|
}
|
|
return item;
|
|
};
|