From c6f1ef1f54c70c4f9ad8430fa1bcab904132b152 Mon Sep 17 00:00:00 2001 From: Zixiao Wang Date: Mon, 26 May 2025 10:39:12 +0800 Subject: [PATCH] =?UTF-8?q?=EF=BC=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/expertproducts/views.py | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/expertproducts/views.py b/apps/expertproducts/views.py index 18be2ba..7792958 100644 --- a/apps/expertproducts/views.py +++ b/apps/expertproducts/views.py @@ -374,6 +374,7 @@ class NegotiationViewSet(viewsets.ModelViewSet): 'draft_approved', 'published' ] + if not status: return Response({ 'code': 400,