From 0e5751a8a4436097e20c8fe4494a73b97808ac1b Mon Sep 17 00:00:00 2001 From: Grain-Yu Date: Thu, 30 Nov 2023 13:37:18 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96archery=E5=86=85=E7=BD=AE?= =?UTF-8?q?=E5=BA=93=E7=9A=84=E6=9B=B4=E6=96=B0=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sql/manual_review.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sql/manual_review.py b/sql/manual_review.py index bbb051b..312b12a 100644 --- a/sql/manual_review.py +++ b/sql/manual_review.py @@ -36,7 +36,7 @@ def listreview(request): try: instance = user_instances( request.user, db_type=SUPPORTED_MANAGEMENT_DB_TYPE - ).get(id=1) + ).get(instance_name="archery_internal") except Instance.DoesNotExist: return JsonResponse({"status": 1, "msg": "你所在组未关联该实例", "data": []}) @@ -70,7 +70,7 @@ def editreview(request): try: instance = user_instances( request.user, db_type=SUPPORTED_MANAGEMENT_DB_TYPE - ).get(id=1) + ).get(instance_name="archery_internal") except Instance.DoesNotExist: return JsonResponse({"status": 1, "msg": "你所在组未关联该实例", "data": []})