Skip to content

Commit

Permalink
mode is not a valid child of the mode object
Browse files Browse the repository at this point in the history
needed to change to type for it to work properly
  • Loading branch information
spdermn02 authored and devsnek committed Jun 14, 2021
1 parent ca4b483 commit 12d8773
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ class RPCClient extends EventEmitter {
volume: args.output.volume,
} : undefined,
mode: args.mode ? {
mode: args.mode.type,
type: args.mode.type,
auto_threshold: args.mode.autoThreshold,
threshold: args.mode.threshold,
shortcut: args.mode.shortcut,
Expand Down

0 comments on commit 12d8773

Please sign in to comment.