From 8db0fca78773ed20dca634fad01c3fd8ea2ad48b Mon Sep 17 00:00:00 2001 From: Cory Dransfeldt Date: Thu, 28 Mar 2024 17:03:32 -0700 Subject: [PATCH] chore: debug --- api/scrobble.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/scrobble.js b/api/scrobble.js index 1c669674..92438eca 100644 --- a/api/scrobble.js +++ b/api/scrobble.js @@ -2,8 +2,8 @@ import { getStore } from '@netlify/blobs' export default async (request, context) => { const ACCOUNT_ID_PLEX = Netlify.env.get("ACCOUNT_ID_PLEX"); - const id = params.get('id') const params = new URL(request['url']).searchParams + const id = params.get('id') const data = await request.formData() const payload = data['payload'] console.log(data)