diff --git a/api/scrobble.js b/api/scrobble.js index f4a68532..c0b39a97 100644 --- a/api/scrobble.js +++ b/api/scrobble.js @@ -12,11 +12,13 @@ export default async (request, context) => { const id = params.get('id') const data = await request.formData() const payload = data.get('payload') + console.log(payload) const artist = payload['Metadata']['grandparentTitle'] const album = payload['Metadata']['parentTitle'] const track = payload['Metadata']['title'] const artists = getStore('artists') + const debug = getStore('debug') await debug.setJSON('debug', JSON.stringify(payload))