Fakultas Ilmu Komputer UI

Commit 9adb8365 authored by Glenda Emanuella Sutanto's avatar Glenda Emanuella Sutanto
Browse files

Change default all_carts_are_expired value to null

parent 92287a5b
Pipeline #84162 passed with stages
in 19 minutes and 50 seconds
......@@ -26,7 +26,7 @@ class UserAuthSerializer(serializers.ModelSerializer):
result['transaction_status'] = None
result['cart_id'] = None
result['all_carts_are_expired'] = False
result['all_carts_are_expired'] = None
if instance.cart.exists():
result['transaction_status'] = instance.cart.last().transaction_status
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment