Using new standardized Mopidy-Spotify credentials

This commit is contained in:
James Barnsley
2017-08-06 21:06:48 +12:00
parent 1e12f3fb29
commit 58636aab54
2 changed files with 2 additions and 1 deletions

View File

@ -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'
}

View File

@ -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)