Skip to content

Commit

Permalink
Update app.py
Browse files Browse the repository at this point in the history
  • Loading branch information
eoa21004 authored Nov 25, 2024
1 parent a747542 commit 97b7308
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 97b7308

Please sign in to comment.