林轩 1 년 전
부모
커밋
c1707e693d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      apps/PestAnalysis/views.py

+ 1 - 1
apps/PestAnalysis/views.py

@@ -199,7 +199,7 @@ class RecentMonthPestCount(GenericAPIView):
                 if k in insect_dict.keys():
                     temp[insect_dict.get(k)] = v 
             data = {
-                "pest": result,
+                "pest": temp,
                 "imgs": imgs[:10]
             }
             return Response(data)