Skip to content

Commit

Permalink
fix: missing response code
Browse files Browse the repository at this point in the history
  • Loading branch information
mint-dewit committed Jan 8, 2022
1 parent 2a9845b commit 2601917
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/codes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ export enum SynchronousCode {
DiskList = 206,
TransportInfo = 208,
Notify = 209,
Configuration = 211,
ClipsCount = 214,
FormatReady = 216,
PlayOnStartup = 218,
Expand Down
2 changes: 1 addition & 1 deletion src/commands/configuration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export interface ConfigurationCommandResponse {
}

export class ConfigurationGetCommand extends AbstractCommand {
expectedResponseCode = SynchronousCode.DeviceInfo
expectedResponseCode = SynchronousCode.Configuration

deserialize(msg: ResponseMessage): ConfigurationCommandResponse {
const res: ConfigurationCommandResponse = {
Expand Down

0 comments on commit 2601917

Please sign in to comment.