We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31004f1 commit 66f63dbCopy full SHA for 66f63db
flask-connexion-rest-part-2/version_1/people.py
@@ -145,7 +145,7 @@ def update(person_id, person):
145
update = schema.load(person, session=db.session).data
146
147
# Set the id to the person we want to update
148
- update.id = update_person.person_id
+ update.person_id = update_person.person_id
149
150
# merge the new object into the old and commit it to the db
151
db.session.merge(update)
0 commit comments