Incorrect array nesting

This commit is contained in:
James Barnsley
2020-10-03 20:43:30 +13:00
parent 0bf6682904
commit 7029251821

View File

@ -1969,11 +1969,17 @@ const MopidyMiddleware = (function () {
}
}
},
(error) => {
store.dispatch(coreActions.handleException(
`Mopidy: ${error.message ? error.message : 'Could not get next track'}`,
error,
));
},
);
break;
case 'MOPIDY_GET_TRACKS':
request(store, 'library.lookup', { uris: [action.uris] })
request(store, 'library.lookup', { uris: action.uris })
.then(
(_response) => {
if (!_response) return;