diff --git a/step-generation/src/commandCreators/atomic/thermocyclerSetTargetLidTemperature.ts b/step-generation/src/commandCreators/atomic/thermocyclerSetTargetLidTemperature.ts index 89810093d69..4abbe59ba55 100644 --- a/step-generation/src/commandCreators/atomic/thermocyclerSetTargetLidTemperature.ts +++ b/step-generation/src/commandCreators/atomic/thermocyclerSetTargetLidTemperature.ts @@ -6,14 +6,15 @@ export const thermocyclerSetTargetLidTemperature: CommandCreator { + const { moduleId, celsius } = args return { commands: [ { commandType: 'thermocycler/setTargetLidTemperature', key: uuid(), params: { - moduleId: args.moduleId, - celsius: args.celsius + moduleId, + celsius, }, }, ],