chore: debug
This commit is contained in:
parent
d8cdb21b2e
commit
8db0fca787
1 changed files with 1 additions and 1 deletions
|
@ -2,8 +2,8 @@ import { getStore } from '@netlify/blobs'
|
||||||
|
|
||||||
export default async (request, context) => {
|
export default async (request, context) => {
|
||||||
const ACCOUNT_ID_PLEX = Netlify.env.get("ACCOUNT_ID_PLEX");
|
const ACCOUNT_ID_PLEX = Netlify.env.get("ACCOUNT_ID_PLEX");
|
||||||
const id = params.get('id')
|
|
||||||
const params = new URL(request['url']).searchParams
|
const params = new URL(request['url']).searchParams
|
||||||
|
const id = params.get('id')
|
||||||
const data = await request.formData()
|
const data = await request.formData()
|
||||||
const payload = data['payload']
|
const payload = data['payload']
|
||||||
console.log(data)
|
console.log(data)
|
||||||
|
|
Reference in a new issue