Compare commits
2 Commits
b8eb97e8e2
...
125e42e501
Author | SHA1 | Date | |
---|---|---|---|
125e42e501 | |||
2ef573d63c |
@ -1,5 +1,5 @@
|
||||
[tool.bumpversion]
|
||||
current_version = "1.2.20"
|
||||
current_version = "1.3.0"
|
||||
commit = true
|
||||
tag = true
|
||||
tag_name = "{new_version}"
|
||||
|
@ -28,6 +28,12 @@ def create_app():
|
||||
# Register blueprints
|
||||
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
|
||||
@app.errorhandler(404)
|
||||
def not_found(error):
|
||||
|
Loading…
x
Reference in New Issue
Block a user