fix: template defects

This commit is contained in:
h z
2025-04-17 21:44:45 +01:00
parent fa855bc7bb
commit 0186a95dd4
10 changed files with 15 additions and 24 deletions

View File

@@ -45,7 +45,7 @@ def update_markdown_setting(setting_id):
setting.template_setting_id = template_setting_id
session.commit()
return jsonify(setting.to_dict()), 200
except Exception:
except Exception as e:
return jsonify({"error": "failed to update setting"}), 500