section name
This commit is contained in:
@@ -24,7 +24,7 @@ def update(id):
|
||||
section=Section.query.get(id)
|
||||
clogger.info(request.data)
|
||||
a=request.get_json()
|
||||
section.text=a["text"]
|
||||
section.name=a["name"]
|
||||
db_session.commit()
|
||||
return jsonify(section=section)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user