Skip to content

Commit

Permalink
fix: normalize result of Controller.getAvailableFirmwareUpdates to …
Browse files Browse the repository at this point in the history
…always include `channel` field (#6359)
  • Loading branch information
raman325 authored Oct 9, 2023
1 parent 47de2bf commit 41cdf95
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,7 @@ export async function getAvailableFirmwareUpdates(
return result.map((update) => ({
device: deviceId,
...update,
channel: update.channel ?? "stable",
}));
}

Expand Down

0 comments on commit 41cdf95

Please sign in to comment.