Skip to content

Commit 12d8773

Browse files
spdermn02devsnek
authored andcommitted
mode is not a valid child of the mode object
needed to change to type for it to work properly
1 parent ca4b483 commit 12d8773

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/client.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ class RPCClient extends EventEmitter {
431431
volume: args.output.volume,
432432
} : undefined,
433433
mode: args.mode ? {
434-
mode: args.mode.type,
434+
type: args.mode.type,
435435
auto_threshold: args.mode.autoThreshold,
436436
threshold: args.mode.threshold,
437437
shortcut: args.mode.shortcut,

0 commit comments

Comments
 (0)