del redundant type conversion

This commit is contained in:
piotr
2022-09-21 00:56:09 +02:00
parent c7fa6e836a
commit a249c37612

View File

@@ -273,7 +273,7 @@ func loadPreferredApps(path string) (map[string]interface{}, error) {
byteValue, _ := io.ReadAll(jsonFile)
var result map[string]interface{}
err = json.Unmarshal([]byte(byteValue), &result)
err = json.Unmarshal(byteValue, &result)
if err != nil {
return nil, err
}