Decoding/encoding URIs

This commit is contained in:
James Barnsley
2017-07-07 08:25:58 +12:00
parent 3e21ca876b
commit f2ef645621
2 changed files with 2 additions and 5 deletions

View File

@ -185,7 +185,7 @@ export function getPlaylist( uri ){
export function getDirectory( uri ){
return {
type: 'MOPIDY_GET_DIRECTORY',
data: { uri: (uri ? decodeURIComponent(uri) : null) }
data: { uri: uri }
}
}