Skip to content

Commit

Permalink
whoops small pylint error fix
Browse files Browse the repository at this point in the history
  • Loading branch information
IshayuR committed Nov 8, 2024
1 parent bb3d048 commit 82137ca
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Backend/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,9 @@ def add_newpet():
"""
data = request.get_json()
newpet_id = databasefunctions.insert_pet(data.get("name"), data.get("age"),
data.get("gender"), data.get("breed"), data.get("type"),
data.get("location"), data.get("photo_path"))
data.get("gender"), data.get("breed"),
data.get("type"), data.get("location"),
data.get("photo_path"))

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

Expand Down

0 comments on commit 82137ca

Please sign in to comment.