diff --git a/src/services/litegraphService.ts b/src/services/litegraphService.ts index 617a8c2ca7..6f4e5ca840 100644 --- a/src/services/litegraphService.ts +++ b/src/services/litegraphService.ts @@ -305,7 +305,7 @@ export const useLitegraphService = () => { } if (!widget?.options?.socketless) { - const inputSpecV1 = transformInputSpecV2ToV1(widgetInputSpec) + const inputSpecV1 = transformInputSpecV2ToV1(inputSpec) node.addInput(inputName, inputSpec.type, { shape: inputSpec.isOptional ? RenderShape.HollowCircle : undefined, localized_name: st(nameKey, inputName),