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