Fix: purchase date review
This commit is contained in:
parent
82f1a57150
commit
3596f38cbc
@ -987,7 +987,7 @@ class AccuracyViewSet(viewsets.ViewSet):
|
|||||||
if isinstance(v, str) and v == '':
|
if isinstance(v, str) and v == '':
|
||||||
v = None
|
v = None
|
||||||
if k == "purchase_date" and v is not None:
|
if k == "purchase_date" and v is not None:
|
||||||
v = v.split("")
|
v = v.split(",")
|
||||||
if not isinstance(sample_result[k], list):
|
if not isinstance(sample_result[k], list):
|
||||||
sample_result[k] = v
|
sample_result[k] = v
|
||||||
elif v:
|
elif v:
|
||||||
|
Loading…
Reference in New Issue
Block a user