Skip to content

Commit

Permalink
feat: adjust result order list
Browse files Browse the repository at this point in the history
Signed-off-by: o98k-ok <[email protected]>
  • Loading branch information
o98k-ok committed May 9, 2022
1 parent 75ca0ac commit ec2ee94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/bluetooth.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ func GetAllBlueTooth() []models.BlueToothDevice {
res := make([]models.BlueToothDevice, 0, 3)

for _, dataType := range dataTypes {
res = append(res, FilterDevice(dataType.(map[string]interface{}), "device_connected")...)
res = append(res, FilterDevice(dataType.(map[string]interface{}), "device_not_connected")...)
res = append(res, FilterDevice(dataType.(map[string]interface{}), "device_connected")...)
}
return res
}
Expand Down

0 comments on commit ec2ee94

Please sign in to comment.