Using new standardized Mopidy-Spotify credentials
This commit is contained in:
@ -476,6 +476,6 @@ class IrisCore(object):
|
||||
|
||||
return {
|
||||
'type': 'error',
|
||||
'message': 'Could not refresh token: '+error['error'],
|
||||
'message': 'Could not refresh token: '+error['error_description'],
|
||||
'source': 'refresh_spotify_token'
|
||||
}
|
||||
|
||||
@ -89,6 +89,7 @@ class WebsocketHandler(tornado.websocket.WebSocketHandler):
|
||||
|
||||
# make the call, and return it's response
|
||||
response = getattr(mem.iris, message['method'])(data)
|
||||
|
||||
if response:
|
||||
response['request_id'] = request_id
|
||||
mem.iris.send_message(self.connection_id, response)
|
||||
|
||||
Reference in New Issue
Block a user