Add current playing track id to the Redux store

This commit is contained in:
Deluan
2020-04-25 10:30:54 -04:00
parent 37602a2049
commit 87cc397bc3
3 changed files with 40 additions and 18 deletions
+2 -3
View File
@@ -23,8 +23,7 @@ const url = (command, id, options) => {
return baseUrl(url)
}
const scrobble = (id, submit) => {
return fetchUtils.fetchJson(url('scrobble', id, { submission: submit }))
}
const scrobble = (id, submit) =>
fetchUtils.fetchJson(url('scrobble', id, { submission: submit }))
export default { url, scrobble }