Skip to content

Commit

Permalink
update:tugas9
Browse files Browse the repository at this point in the history
  • Loading branch information
Marsupilamieue committed Nov 20, 2023
1 parent 495bf61 commit b368a4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ def create_item_flutter(request):
data = json.loads(request.body)

new_item = Item.objects.create(
user = data['user'],
user_id = int(data['user']),
name = data["name"],
price = int(data["price"]),
description = data["description"],
Expand Down

0 comments on commit b368a4a

Please sign in to comment.