Same .me format for providers; CORS for Genius

This commit is contained in:
James Barnsley
2018-08-17 16:09:36 +12:00
parent d48cdd9f45
commit b9f53d8d83
12 changed files with 211 additions and 64 deletions

View File

@ -164,10 +164,9 @@ export function getMe(){
response => {
if (response.user){
dispatch({
type: 'LASTFM_USER_LOADED',
user: response.user
type: 'LASTFM_ME_LOADED',
me: response.user
});
dispatch({ type: 'LASTFM_CONNECTED' })
}
}
)