From d29a2a565d5748c96a35a3a9393514d518b28477 Mon Sep 17 00:00:00 2001 From: space Date: Sun, 1 Mar 2026 18:13:17 +0100 Subject: [PATCH] fix: update parameter key from 'query' to 'queries' in Spoti route handling --- functions/data-sources/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/data-sources/main.py b/functions/data-sources/main.py index a3ec459..fb60009 100644 --- a/functions/data-sources/main.py +++ b/functions/data-sources/main.py @@ -82,7 +82,7 @@ def main(args): return {"_code": 302, "_location": url, "_shsf": "v2"} if route == "spoti": - code = args.get("query", {}).get("code") + code = args.get("queries", {}).get("code") if not code: return {"status": "error", "message": "Missing code parameter"}