config for oauth

This commit is contained in:
h z
2024-12-04 14:06:30 +00:00
parent ba2f5bb483
commit 9d0fd5b33c
7 changed files with 69 additions and 64 deletions

View File

@@ -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