From 0fb8d5457309475dc46a74380d67ca04141b15c2 Mon Sep 17 00:00:00 2001 From: TannedCung Date: Tue, 18 Jun 2024 10:55:10 +0700 Subject: [PATCH] Fix: purchase_date review --- cope2n-api/fwd_api/api/accuracy_view.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cope2n-api/fwd_api/api/accuracy_view.py b/cope2n-api/fwd_api/api/accuracy_view.py index 2d5cd85..f46af55 100755 --- a/cope2n-api/fwd_api/api/accuracy_view.py +++ b/cope2n-api/fwd_api/api/accuracy_view.py @@ -987,7 +987,7 @@ class AccuracyViewSet(viewsets.ViewSet): if isinstance(v, str) and v == '': v = None if k == "purchase_date" and v is not None: - v = v.split("") + v = v.split(",") if not isinstance(sample_result[k], list): sample_result[k] = v elif v: