chore: debug
This commit is contained in:
parent
6b0f214e65
commit
2d2f19707d
4 changed files with 13 additions and 3 deletions
6
.gitignore
vendored
6
.gitignore
vendored
|
@ -11,4 +11,8 @@ node_modules
|
|||
.DS_Store
|
||||
|
||||
# netlify
|
||||
.netlify
|
||||
!.netlify/
|
||||
.netlify/*
|
||||
!.netlify/blobs
|
||||
.netlify/blobs/*
|
||||
!.netlify/blobs/deploy
|
4
.netlify/blobs/deploy/artists/accidental-suicide.json
Normal file
4
.netlify/blobs/deploy/artists/accidental-suicide.json
Normal file
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"genre": "Death metal",
|
||||
"mbid": "07024929-c55c-4a6f-8d18-c27a9e394efb"
|
||||
}
|
4
.netlify/blobs/deploy/artists/acid-bath.json
Normal file
4
.netlify/blobs/deploy/artists/acid-bath.json
Normal file
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"genre": "Sludge metal",
|
||||
"mbid": "8b8b33a3-0a11-48b4-8f5a-aaa79f4282a8"
|
||||
}
|
|
@ -6,8 +6,6 @@ export default async (request, context) => {
|
|||
const id = params.get('id')
|
||||
const data = await request.formData()
|
||||
const payload = data['payload']
|
||||
console.log(data)
|
||||
console.log(payload)
|
||||
|
||||
if (!id) return new Response(JSON.stringify({
|
||||
status: 'Bad request',
|
||||
|
|
Reference in a new issue