Skip to content

Update app.py #26

Merged
merged 1 commit into from
Nov 25, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Backend/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ def add_newpet():
data = request.get_json()
newpet_id = databasefunctions.insert_pet(data.get("name"), data.get("age"),
data.get("gender"), data.get("type"),
data.get("location"),
data.get("photo_path"),
data.get("breed"),
data.get("location"),
data.get("photo_path"),
data.get("breed"),
data.get("paragraph"))

return jsonify({'pet_id': newpet_id}), 200
Expand Down