Compare commits

..

2 Commits

Author SHA1 Message Date
125e42e501 Bump version: 1.2.20 → 1.3.0
All checks were successful
Build and Publish Docker Image / build-and-push (push) Successful in 1m42s
2025-07-19 09:05:34 +01:00
2ef573d63c manual check on config page 2025-07-19 09:05:25 +01:00
3 changed files with 8 additions and 2 deletions

View File

@ -1,5 +1,5 @@
[tool.bumpversion] [tool.bumpversion]
current_version = "1.2.20" current_version = "1.3.0"
commit = true commit = true
tag = true tag = true
tag_name = "{new_version}" tag_name = "{new_version}"

View File

@ -1 +1 @@
1.2.20 1.3.0

View File

@ -28,6 +28,12 @@ def create_app():
# Register blueprints # Register blueprints
app.register_blueprint(api_blueprint) app.register_blueprint(api_blueprint)
@app.route('/check-expiry', methods=['POST'])
def check_expiry():
"""Manually triggers the expiry notification check."""
send_expiry_notifications(app)
return jsonify({"message": "Expiry notification check triggered."})
# Error handlers # Error handlers
@app.errorhandler(404) @app.errorhandler(404)
def not_found(error): def not_found(error):