mirror of
https://github.com/krateng/maloja.git
synced 2023-08-10 21:12:55 +03:00
Fixed scrobbling via JSON payload, fixes GH-31
This commit is contained in:
parent
b4f84625bc
commit
316ad48ae6
@ -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"]
|
||||
|
Loading…
Reference in New Issue
Block a user