Skip to content

Commit 4060ef5

Browse files
committed
wip: set default VariableStepIndex= 1
1 parent cbfc114 commit 4060ef5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/plugin/adaptor/adaptor.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ func GetPluginStepVariableDbObject(pluginStepId int, pluginVariableDto *bean2.Pl
6060
VariableType: pluginVariableDto.VariableType,
6161
ValueType: pluginVariableDto.ValueType,
6262
PreviousStepIndex: pluginVariableDto.PreviousStepIndex,
63-
VariableStepIndex: pluginVariableDto.VariableStepIndex,
63+
VariableStepIndex: 1, //currently hard coding this, later after plugin creation gets more mature will let user decide
6464
VariableStepIndexInPlugin: pluginVariableDto.VariableStepIndexInPlugin,
6565
ReferenceVariableName: pluginVariableDto.ReferenceVariableName,
6666
AuditLog: sql.NewDefaultAuditLog(userId),

0 commit comments

Comments
 (0)