Need to load JSON data
This commit is contained in:
@ -151,7 +151,7 @@ def jellyfin_websocket(request):
|
|||||||
@csrf_exempt
|
@csrf_exempt
|
||||||
@api_view(['POST'])
|
@api_view(['POST'])
|
||||||
def mopidy_websocket(request):
|
def mopidy_websocket(request):
|
||||||
data_dict = request.data
|
data_dict = json.loads(request.data)
|
||||||
|
|
||||||
# For making things easier to build new input processors
|
# For making things easier to build new input processors
|
||||||
if getattr(settings, "DUMP_REQUEST_DATA", False):
|
if getattr(settings, "DUMP_REQUEST_DATA", False):
|
||||||
|
|||||||
Reference in New Issue
Block a user