From 9bf25b401e04952e7b0748f52a5df713f56d4126 Mon Sep 17 00:00:00 2001 From: Well Date: Sat, 22 Jul 2023 18:52:10 +0800 Subject: [PATCH] . --- api/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/views.py b/api/views.py index 27ada43b53..da6795ad10 100644 --- a/api/views.py +++ b/api/views.py @@ -179,7 +179,7 @@ def send(request): resdict = json.loads(request.POST["result"]) appkey = request.POST.get("key", "") else: - resdict = json.loads.safe_load(request.GET["result"]) + resdict = json.loads(request.GET["result"]) appkey = request.GET.get("key", "") astm_user = users.DoctorProfile.objects.filter(user__username="astm").first()