From 8a7679dadb5ddaa4f2b4e1c0d0092043dc1cdd4b Mon Sep 17 00:00:00 2001 From: Cory Dransfeldt Date: Fri, 29 Mar 2024 11:17:12 -0700 Subject: [PATCH] chore: debug --- api/scrobble.js | 2 ++ 1 file changed, 2 insertions(+) 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))