Skip to content

Commit c7ad89f

Browse files
committed
fix incorrect action variable names
1 parent 04e33ed commit c7ad89f

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "evertz-quartz",
3-
"version": "2.0.0",
3+
"version": "2.0.1",
44
"main": "index.js",
55
"scripts": {
66
"test": "echo \"Error: no test specified\" && exit 1",

src/actions.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ module.exports = {
2929
options: [
3030
{
3131
type: 'dropdown',
32-
id: 'destination',
32+
id: 'dst',
3333
label: 'Destination',
3434
width: 6,
3535
default: self.CHOICES_DESTINATIONS[0].id,
@@ -50,7 +50,7 @@ module.exports = {
5050
callback: async function (action) {
5151
let options = action.options
5252
let lock = options.lock
53-
let command = `.B${lock},${options.destination}`
53+
let command = `.B${lock},${options.dst}`
5454
self.sendCommand(command)
5555
},
5656
}
@@ -87,7 +87,7 @@ module.exports = {
8787
callback: async function (action) {
8888
let options = action.options
8989
let levels = await self.parseVariablesInString(options.levels)
90-
let command = `.S${levels}${options.destination},${options.source}`
90+
let command = `.S${levels}${options.dst},${options.src}`
9191
self.sendCommand(command)
9292
},
9393
}
@@ -143,7 +143,7 @@ module.exports = {
143143
callback: async function (action) {
144144
let options = action.options
145145
let levels = await self.parseVariablesInString(options.levels)
146-
let command = `.S${levels}${self.selectedDestination},${options.source}`
146+
let command = `.S${levels}${self.selectedDestination},${options.src}`
147147
self.sendCommand(command)
148148
},
149149
}

0 commit comments

Comments
 (0)