fix section view
This commit is contained in:
@@ -35,6 +35,6 @@ def get(id):
|
||||
section=Section.query.get(id)
|
||||
clogger.info(section)
|
||||
# section=SectionSchema().dump(section)[0]
|
||||
return jsonify(section=section,articles=section.articles)
|
||||
return jsonify(section=section)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user