config for oauth
This commit is contained in:
@@ -16,7 +16,7 @@ markdown_bp = Blueprint('markdown', __name__, url_prefix='/api/markdown')
|
||||
def get_markdowns():
|
||||
with get_db() as db:
|
||||
mds = db.query(Markdown).all()
|
||||
return jsonify([md.to_dict() for md in mds])
|
||||
return jsonify([md.to_dict() for md in mds]), 200
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user