Skip to content

Commit

Permalink
black 적용
Browse files Browse the repository at this point in the history
  • Loading branch information
im-niber committed Aug 2, 2024
1 parent 8c5e954 commit 94ae766
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions orders/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -86,4 +86,4 @@ def update(self, instance, validated_data):
instance.status = validated_data.get("status", instance.status)
instance.save()

return instance
return instance

0 comments on commit 94ae766

Please sign in to comment.