Skip to content

Commit

Permalink
Merge pull request #26 from CSE2102-Fall24/eoa21004-patch-8
Browse files Browse the repository at this point in the history
Update app.py
  • Loading branch information
eoa21004 authored Nov 25, 2024
2 parents a747542 + 97b7308 commit ab4881b
Showing 1 changed file with 3 additions and 3 deletions.
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

0 comments on commit ab4881b

Please sign in to comment.