Fakultas Ilmu Komputer UI

Commit 764f738f authored by Ami's avatar Ami
Browse files

Merge branch 'staging' of...

Merge branch 'staging' of https://gitlab.cs.ui.ac.id/ppl-fasilkom-ui/2021/DD/pt-gizi-sehat-dietela/dietela-backend into PBI-13-ProgressDietClient
parents d9a9aac1 c0f82ea7
......@@ -25,8 +25,10 @@ class UserAuthSerializer(serializers.ModelSerializer):
if instance.cart.exists():
result['transaction_status'] = instance.cart.last().transaction_status
result['cart_id'] = instance.cart.last().id
result['transaction_status'] = None
result['cart_id'] = None
return result
Supports Markdown
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