diff --git a/api/scrobble.js b/api/scrobble.js index 7b7b1afe..db7212e8 100644 --- a/api/scrobble.js +++ b/api/scrobble.js @@ -7,8 +7,10 @@ export default async (request, context) => { const data = await request.formData() const payload = data['payload'] + console.log(payload) + const debug = getStore('debug') - await debug.setJSON('debug', payload) + await debug.setJSON('debug', JSON.stringify(payload)) if (!id) return new Response(JSON.stringify({ status: 'Bad request',