From 94ae766245ce2f50c9bb57de7156647742081fdb Mon Sep 17 00:00:00 2001 From: rbwo552 Date: Fri, 2 Aug 2024 19:26:53 +0900 Subject: [PATCH] =?UTF-8?q?black=20=EC=A0=81=EC=9A=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- orders/serializers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/orders/serializers.py b/orders/serializers.py index 1e13c06..f47c40c 100644 --- a/orders/serializers.py +++ b/orders/serializers.py @@ -62,7 +62,7 @@ def create(self, validated_data): lunch_data = item_data.pop("lunch") menus_data = lunch_data.pop("menus") - if lunch_data.get('id') is not None: + if lunch_data.get("id") is not None: lunch = Lunch.objects.get(id=lunch_data["id"]) else: @@ -86,4 +86,4 @@ def update(self, instance, validated_data): instance.status = validated_data.get("status", instance.status) instance.save() - return instance \ No newline at end of file + return instance