mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-12 21:37:32 -08:00
⚡ Returned to using correct uuid lib
This commit is contained in:
parent
4343bec2e0
commit
1cdf0164e9
|
@ -127,7 +127,7 @@ import NodeSettings from '@/components/NodeSettings.vue';
|
|||
import RunData from '@/components/RunData.vue';
|
||||
|
||||
import mixins from 'vue-typed-mixins';
|
||||
import { uuid } from 'uuidv4';
|
||||
import { v4 as uuidv4} from 'uuid';
|
||||
import { debounce, isEqual } from 'lodash';
|
||||
import axios from 'axios';
|
||||
import {
|
||||
|
@ -974,7 +974,7 @@ export default mixins(
|
|||
newNodeData.name = this.getUniqueNodeName(newNodeData.name);
|
||||
|
||||
if (nodeTypeData.webhooks && nodeTypeData.webhooks.length) {
|
||||
newNodeData.webhookId = uuid();
|
||||
newNodeData.webhookId = uuidv4();
|
||||
}
|
||||
|
||||
await this.addNodes([newNodeData]);
|
||||
|
|
Loading…
Reference in a new issue