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 a68d17b commit a538d97Copy full SHA for a538d97
flask-connexion-rest-part-3/rp_flask_api/notes.py
@@ -32,7 +32,7 @@ def delete(note_id):
32
if existing_note:
33
db.session.delete(existing_note)
34
db.session.commit()
35
- return make_response(f"{note_id} successfully deleted", 200)
+ return make_response(f"{note_id} successfully deleted", 204)
36
else:
37
abort(404, f"Note with ID {note_id} not found")
38
0 commit comments