Fix: purchase_date review
This commit is contained in:
parent
c3114534fc
commit
0fb8d54573
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user