chore: debug

This commit is contained in:
Cory Dransfeldt 2024-03-29 11:17:12 -07:00
parent 0a46d6a118
commit 8a7679dadb
No known key found for this signature in database

View file

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