Commit 79e25cc3 authored by Leon Tappe's avatar Leon Tappe 🔥
Browse files

remove unneeded stuff from /motd

parent 48c9e6fa
......@@ -621,4 +621,4 @@ def user_settings():
@bp.route('/motd', methods=['GET'])
def motd():
setting = Setting.query.filter_by(key='motd_public').first()
return jsonify({setting.key: setting.value})
return setting.value
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment