Compare commits
No commits in common. "125e42e501004957ca4b3a9977e1c84f17299f75" and "b8eb97e8e201a5811a1f818d1b170272f1b76d7d" have entirely different histories.
125e42e501
...
b8eb97e8e2
@ -1,5 +1,5 @@
|
|||||||
[tool.bumpversion]
|
[tool.bumpversion]
|
||||||
current_version = "1.3.0"
|
current_version = "1.2.20"
|
||||||
commit = true
|
commit = true
|
||||||
tag = true
|
tag = true
|
||||||
tag_name = "{new_version}"
|
tag_name = "{new_version}"
|
||||||
|
@ -28,12 +28,6 @@ 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):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user