From 316ad48ae6079f5910d8a346e8751b64efee41c0 Mon Sep 17 00:00:00 2001 From: Krateng Date: Mon, 31 Aug 2020 17:57:42 +0200 Subject: [PATCH] Fixed scrobbling via JSON payload, fixes GH-31 --- maloja/database.py | 1 + 1 file changed, 1 insertion(+) diff --git a/maloja/database.py b/maloja/database.py index 6f5c218..34842b9 100644 --- a/maloja/database.py +++ b/maloja/database.py @@ -247,6 +247,7 @@ def normalize_name(name): # an api key now ONLY permits scrobbling tracks, no other admin tasks def api_key_correct(request): args = request.params + args.update(request.json) if "key" in args: apikey = args["key"] del args["key"]