Skip to content

Commit

Permalink
console: Fix payload formatters test form
Browse files Browse the repository at this point in the history
The new validation introduced in PR #6151 broke this form. This commit
applies the same fix used previously in the UplinkForm component.
  • Loading branch information
pablojimpas committed Apr 14, 2023
1 parent c45a003 commit 2bab4b3
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,10 @@ class DevicePayloadFormatters extends React.PureComponent {
rx_metadata: [
{ gateway_ids: { gateway_id: 'test' }, rssi: 42, channel_rssi: 42, snr: 4.2 },
],
settings: { data_rate: { lora: { bandwidth: 125000, spreading_factor: 7 } } },
settings: {
data_rate: { lora: { bandwidth: 125000, spreading_factor: 7 } },
frequency: 868000000,
},
},
version_ids: Object.keys(version_ids).length > 0 ? version_ids : undefined,
formatter,
Expand Down

0 comments on commit 2bab4b3

Please sign in to comment.